Skip to content

Commit

Permalink
Add INTERNET_IP_PORT and INTERNET_FQDN_PORT regional network endpoint…
Browse files Browse the repository at this point in the history
… groups to google cloud terraform provider (#9863) (#6913)

* Add regional INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG to the Google Cloud provider.

This change will be added to both google and google-beta provider versions.

INTERNET_IP_PORT endpoints accepts only IP and port.
INTERNET_FQDN_PORT endpoints accepts only FQDN and port.

* Add regional INTERNET_IP_PORT and INTERNET_FQDN_PORT NEG to the Google Cloud provider.

This change will be added to both google and google-beta provider versions.

INTERNET_IP_PORT endpoints accepts only IP and port.
INTERNET_FQDN_PORT endpoints accepts only FQDN and port.

* Reverse Topic file change

* Fix trailing spaces

* Add region to region_network_endpoint_internet* test examples

* Add basic fine-grained resource test for the  resource

[upstream:55a80b3962e92d86c85608db35c9fae71551ba36]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jan 30, 2024
1 parent 464a96e commit d0d57f6
Show file tree
Hide file tree
Showing 9 changed files with 1,254 additions and 24 deletions.
6 changes: 6 additions & 0 deletions .changelog/9863.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
```release-note:new-resource
`google_compute_region_network_endpoint`
```
```release-note:enhancement
added `INTERNET_IP_PORT` and `INTERNET_FQDN_PORT` options for the `google_compute_region_network_endpoint_group` resource.
```
5 changes: 3 additions & 2 deletions google-beta/provider/provider_mmv1_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,9 @@ var handwrittenIAMDatasources = map[string]*schema.Resource{
}

// Resources
// Generated resources: 427
// Generated resources: 428
// Generated IAM resources: 255
// Total generated resources: 682
// Total generated resources: 683
var generatedResources = map[string]*schema.Resource{
"google_folder_access_approval_settings": accessapproval.ResourceAccessApprovalFolderSettings(),
"google_organization_access_approval_settings": accessapproval.ResourceAccessApprovalOrganizationSettings(),
Expand Down Expand Up @@ -657,6 +657,7 @@ var generatedResources = map[string]*schema.Resource{
"google_compute_region_disk_iam_policy": tpgiamresource.ResourceIamPolicy(compute.ComputeRegionDiskIamSchema, compute.ComputeRegionDiskIamUpdaterProducer, compute.ComputeRegionDiskIdParseFunc),
"google_compute_region_disk_resource_policy_attachment": compute.ResourceComputeRegionDiskResourcePolicyAttachment(),
"google_compute_region_health_check": compute.ResourceComputeRegionHealthCheck(),
"google_compute_region_network_endpoint": compute.ResourceComputeRegionNetworkEndpoint(),
"google_compute_region_network_endpoint_group": compute.ResourceComputeRegionNetworkEndpointGroup(),
"google_compute_region_network_firewall_policy": compute.ResourceComputeRegionNetworkFirewallPolicy(),
"google_compute_region_per_instance_config": compute.ResourceComputeRegionPerInstanceConfig(),
Expand Down
Loading

0 comments on commit d0d57f6

Please sign in to comment.