Skip to content

Commit 239b093

Browse files
committed
Docs update to use Space by name references
1 parent 3d901c5 commit 239b093

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/resources/space_app_access.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ resource "heroku_space" "default" {
2424
2525
// Give an existing team member create_apps permissions to the Private Space
2626
resource "heroku_space_app_access" "member1" {
27-
space = heroku_space.default.id
27+
space = heroku_space.default.name
2828
2929
permissions = ["create_apps"]
3030
}
3131
3232
// Remove all permissions from an existing team member
3333
resource "heroku_space_app_access" "member2" {
34-
space = heroku_space.default.id
34+
space = heroku_space.default.name
3535
3636
permissions = []
3737
}

docs/resources/space_inbound_ruleset.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ resource "heroku_space" "default" {
2424
2525
# Allow all traffic EXCEPT 8.8.4.4 to access the HPS.
2626
resource "heroku_space_inbound_ruleset" "default" {
27-
space = heroku_space.default.id
27+
space = heroku_space.default.name
2828
2929
rule {
3030
action = "allow"

docs/resources/space_peering_connection_accepter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ resource "aws_vpc_peering_connection" "request" {
2727
2828
# Accept the request.
2929
resource "heroku_space_peering_connection_accepter" "accept" {
30-
space = heroku_space.peer_space.id
30+
space = heroku_space.peer_space.name
3131
vpc_peering_connection_id = aws_vpc_peering_connection.request.id
3232
}
3333
```

docs/resources/space_vpn_connection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ resource "heroku_space" "default" {
2323
// Connect the Heroku space to another network with a VPN
2424
resource "heroku_space_vpn_connection" "office" {
2525
name = "office"
26-
space = heroku_space.default.id
26+
space = heroku_space.default.name
2727
public_ip = "203.0.113.1"
2828
routable_cidrs = ["192.168.1.0/24"]
2929
}

0 commit comments

Comments
 (0)