Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ids to vpn_tunnel and vpn_gateway outputs #2273

Merged
merged 2 commits into from
Aug 30, 2019
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
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
4 changes: 4 additions & 0 deletions products/compute/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8265,6 +8265,10 @@ objects:
description: 'The region where the tunnel is located.'
required: true
properties:
- !ruby/object:Api::Type::String
name: 'id'
description: 'The unique identifier for the resource. This identifier is defined by the server.'
output: true
- !ruby/object:Api::Type::Time
name: 'creationTimestamp'
description: 'Creation timestamp in RFC3339 text format.'
Expand Down
4 changes: 3 additions & 1 deletion products/compute/terraform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1491,7 +1491,7 @@ overrides: !ruby/object:Overrides::ResourceOverrides
route_name: "route1"
properties:
id: !ruby/object:Overrides::Terraform::PropertyOverride
exclude: true
name: gateway_id
region: !ruby/object:Overrides::Terraform::PropertyOverride
required: false # the provider-default value will be used if not specified
default_from_api: true
Expand Down Expand Up @@ -1654,6 +1654,8 @@ overrides: !ruby/object:Overrides::ResourceOverrides
exclude: false
router: !ruby/object:Overrides::Terraform::PropertyOverride
custom_expand: 'templates/terraform/custom_expand/compute_full_url.erb'
id: !ruby/object:Overrides::Terraform::PropertyOverride
name: tunnel_id
custom_code: !ruby/object:Provider::Terraform::CustomCode
constants: templates/terraform/constants/vpn_tunnel.erb
encoder: templates/terraform/encoders/vpn_tunnel.go.erb
Expand Down