Skip to content

Commit

Permalink
Mark GKE peering_name GA (#3001)
Browse files Browse the repository at this point in the history
Merged PR #3001.
  • Loading branch information
rileykarson authored and modular-magician committed Jan 22, 2020
1 parent 3059101 commit 68ff718
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/terraform
2 changes: 1 addition & 1 deletion build/terraform-beta
Original file line number Diff line number Diff line change
Expand Up @@ -798,12 +798,10 @@ func resourceContainerCluster() *schema.Resource {
ForceNew: true,
ValidateFunc: orEmpty(validation.CIDRNetwork(28, 28)),
},
<%- unless version == 'ga' %>
"peering_name": {
Type: schema.TypeString,
Computed: true,
},
<%- end %>
"private_endpoint": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -2647,9 +2645,7 @@ func flattenPrivateClusterConfig(c *containerBeta.PrivateClusterConfig) []map[st
"enable_private_endpoint": c.EnablePrivateEndpoint,
"enable_private_nodes": c.EnablePrivateNodes,
"master_ipv4_cidr_block": c.MasterIpv4CidrBlock,
<% unless version == 'ga' -%>
"peering_name": c.PeeringName,
<% end -%>
"private_endpoint": c.PrivateEndpoint,
"public_endpoint": c.PublicEndpoint,
},
Expand Down

0 comments on commit 68ff718

Please sign in to comment.