Skip to content

Commit

Permalink
Allowing GlobalAddress.address to be settable (#1014)
Browse files Browse the repository at this point in the history
Merged PR #1014.
  • Loading branch information
chrisst authored and modular-magician committed Dec 11, 2018
1 parent a5e7a5c commit 629bb8b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/ansible
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
2 changes: 2 additions & 0 deletions products/compute/ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ overrides: !ruby/object:Provider::ResourceOverrides
properties:
addressType: !ruby/object:Provider::Ansible::PropertyOverride
version_added: '2.8'
address: !ruby/object:Provider::Ansible::PropertyOverride
version_added: '2.8'
GlobalForwardingRule: !ruby/object:Provider::Ansible::ResourceOverride
properties:
IPAddress: !ruby/object:Provider::Ansible::PropertyOverride
Expand Down
1 change: 0 additions & 1 deletion products/compute/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,6 @@ objects:
name: 'address'
description: |
The static external IP address represented by this resource.
output: true
- !ruby/object:Api::Type::Time
name: 'creationTimestamp'
description: 'Creation timestamp in RFC3339 text format.'
Expand Down
2 changes: 2 additions & 0 deletions products/compute/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ overrides: !ruby/object:Provider::ResourceOverrides
properties:
id: !ruby/object:Provider::Terraform::PropertyOverride
exclude: true
address: !ruby/object:Provider::Terraform::PropertyOverride
default_from_api: true
ipVersion: !ruby/object:Provider::Terraform::PropertyOverride
diff_suppress_func: 'emptyOrDefaultStringSuppress("IPV4")'
labelFingerprint: !ruby/object:Provider::Terraform::PropertyOverride
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ resource "google_compute_global_address" "foobar" {
address_type = "INTERNAL"
purpose = "VPC_PEERING"
prefix_length = 24
address = "172.20.181.0"
network = "${google_compute_network.foobar.self_link}"
}`, acctest.RandString(10), acctest.RandString(10))
}
Expand Down

0 comments on commit 629bb8b

Please sign in to comment.