Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/resources/space_app_access.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ resource "heroku_space" "default" {

// Give an existing team member create_apps permissions to the Private Space
resource "heroku_space_app_access" "member1" {
space = heroku_space.default.id
space = heroku_space.default.name
email = "[email protected]"
permissions = ["create_apps"]
}

// Remove all permissions from an existing team member
resource "heroku_space_app_access" "member2" {
space = heroku_space.default.id
space = heroku_space.default.name
email = "[email protected]"
permissions = []
}
Expand All @@ -41,7 +41,7 @@ resource "heroku_space_app_access" "member2" {

The following arguments are supported:

* `space` - (Required) The ID of the Private Space.
* `space` - (Required) The name of the Private Space (ID/UUID is acceptable too, but must be used consistently).
* `email` - (Required) The email of the existing Heroku Team member.
* `permissions` - (Required) The permissions to grant the team member for the Private Space.
Currently `create_apps` is the only supported permission. If not provided the member will have no permissions to the space.
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/space_inbound_ruleset.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ resource "heroku_space" "default" {

# Allow all traffic EXCEPT 8.8.4.4 to access the HPS.
resource "heroku_space_inbound_ruleset" "default" {
space = heroku_space.default.id
space = heroku_space.default.name

rule {
action = "allow"
Expand All @@ -42,7 +42,7 @@ resource "heroku_space_inbound_ruleset" "default" {

The following arguments are supported:

* `space` - (Required) The ID of the space.
* `space` - (Required) The name of the Private Space (ID/UUID is acceptable too, but must be used consistently).
* `rule` - (Required) At least one `rule` block. Rules are documented below.

A `rule` block supports the following arguments:
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/space_peering_connection_accepter.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "aws_vpc_peering_connection" "request" {

# Accept the request.
resource "heroku_space_peering_connection_accepter" "accept" {
space = heroku_space.peer_space.id
space = heroku_space.peer_space.name
vpc_peering_connection_id = aws_vpc_peering_connection.request.id
}
```
Expand All @@ -36,7 +36,7 @@ resource "heroku_space_peering_connection_accepter" "accept" {

The following arguments are supported:

* `space` - (Required) The ID of the space.
* `space` - (Required) The name of the Private Space (ID/UUID is acceptable too, but must be used consistently).
* `vpc_peering_connection_id` - (Required) The peering connection request ID.

## Attributes Reference
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/space_vpn_connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "heroku_space" "default" {
// Connect the Heroku space to another network with a VPN
resource "heroku_space_vpn_connection" "office" {
name = "office"
space = heroku_space.default.id
space = heroku_space.default.name
public_ip = "203.0.113.1"
routable_cidrs = ["192.168.1.0/24"]
}
Expand All @@ -34,7 +34,7 @@ resource "heroku_space_vpn_connection" "office" {
The following arguments are supported:

* `name` - (Required) The name of the VPN connection.
* `space` - (Required) The ID of the Heroku Private Space where the VPN connection will be established.
* `space` - (Required) The name of the Private Space (ID/UUID is acceptable too, but must be used consistently).
* `public_ip` - (Required) The public IP address of the VPN endpoint on the network where the VPN connection will be established.
* `routable_cidrs` - (Required) A list of IPv4 CIDR blocks used by the network where the VPN connection will be established.

Expand Down
1 change: 0 additions & 1 deletion heroku/resource_heroku_space_app_access.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ func resourceHerokuSpaceAppAccessRead(d *schema.ResourceData, meta interface{})
return err
}
d.SetId(spaceAppAccess.User.ID)
d.Set("space", spaceAppAccess.Space.Name)
d.Set("email", spaceAppAccess.User.Email)
d.Set("permissions", createPermissionsList(spaceAppAccess))
return nil
Expand Down
1 change: 0 additions & 1 deletion heroku/resource_heroku_space_inbound_ruleset.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ func resourceHerokuSpaceInboundRulesetRead(d *schema.ResourceData, meta interfac

d.SetId(ruleset.ID)
d.Set("rule", rulesList)
d.Set("space", ruleset.Space.Name)

return nil
}
Expand Down
Loading