Skip to content

Commit

Permalink
add ids to vpn_tunnel and vpn_gateway outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
megan07 committed Aug 29, 2019
1 parent 1bd70b1 commit 94e9605
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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 94e9605

Please sign in to comment.