Skip to content

Commit

Permalink
add ids to vpn_tunnel and vpn_gateway outputs (#2273)
Browse files Browse the repository at this point in the history
Merged PR #2273.
  • Loading branch information
megan07 authored and modular-magician committed Aug 30, 2019
1 parent c5bdef8 commit 383d160
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
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

0 comments on commit 383d160

Please sign in to comment.