From c0642e702cfb4d221dfbda39a02b03a175ac306b Mon Sep 17 00:00:00 2001 From: Luca Prete Date: Sat, 13 Jan 2024 11:15:16 +0100 Subject: [PATCH] Fixing tests --- .../networksecurity/FirewallEndpointAssociation.yaml | 7 +------ ...security_firewall_endpoint_association_operation.go.erb | 1 - ...security_firewall_endpoint_association_operation.go.erb | 1 - ...security_firewall_endpoint_association_operation.go.erb | 1 - 4 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 mmv1/templates/terraform/pre_create/network_security_firewall_endpoint_association_operation.go.erb delete mode 100644 mmv1/templates/terraform/pre_delete/network_security_firewall_endpoint_association_operation.go.erb delete mode 100644 mmv1/templates/terraform/pre_update/network_security_firewall_endpoint_association_operation.go.erb diff --git a/mmv1/products/networksecurity/FirewallEndpointAssociation.yaml b/mmv1/products/networksecurity/FirewallEndpointAssociation.yaml index 4bb887991994..9a49eb7496fb 100644 --- a/mmv1/products/networksecurity/FirewallEndpointAssociation.yaml +++ b/mmv1/products/networksecurity/FirewallEndpointAssociation.yaml @@ -31,6 +31,7 @@ references: 'Firewall endpoint overview': 'https://cloud.google.com/firewall/docs/about-firewall-endpoints' 'Create and associate firewall endpoints': 'https://cloud.google.com/firewall/docs/configure-firewall-endpoints' async: !ruby/object:Api::OpAsync + include_project: true operation: !ruby/object:Api::OpAsync::Operation base_url: '{{op_id}}' result: !ruby/object:Api::OpAsync::Result @@ -51,11 +52,6 @@ examples: test_env_vars: org_id: :ORG_ID project: :PROJECT_NAME -custom_code: - !ruby/object:Provider::Terraform::CustomCode # Calling custom operation that are different from other network security resources. - pre_create: templates/terraform/pre_create/network_security_firewall_endpoint_association_operation.go.erb - pre_update: templates/terraform/pre_update/network_security_firewall_endpoint_association_operation.go.erb - pre_delete: templates/terraform/pre_delete/network_security_firewall_endpoint_association_operation.go.erb parameters: - !ruby/object:Api::Type::String name: 'name' @@ -124,4 +120,3 @@ properties: - :CREATING - :DELETING - :INACTIVE - - :STATE_UNSPECIFIED diff --git a/mmv1/templates/terraform/pre_create/network_security_firewall_endpoint_association_operation.go.erb b/mmv1/templates/terraform/pre_create/network_security_firewall_endpoint_association_operation.go.erb deleted file mode 100644 index 2d51157b9cf2..000000000000 --- a/mmv1/templates/terraform/pre_create/network_security_firewall_endpoint_association_operation.go.erb +++ /dev/null @@ -1 +0,0 @@ -project = "" diff --git a/mmv1/templates/terraform/pre_delete/network_security_firewall_endpoint_association_operation.go.erb b/mmv1/templates/terraform/pre_delete/network_security_firewall_endpoint_association_operation.go.erb deleted file mode 100644 index 2d51157b9cf2..000000000000 --- a/mmv1/templates/terraform/pre_delete/network_security_firewall_endpoint_association_operation.go.erb +++ /dev/null @@ -1 +0,0 @@ -project = "" diff --git a/mmv1/templates/terraform/pre_update/network_security_firewall_endpoint_association_operation.go.erb b/mmv1/templates/terraform/pre_update/network_security_firewall_endpoint_association_operation.go.erb deleted file mode 100644 index 2d51157b9cf2..000000000000 --- a/mmv1/templates/terraform/pre_update/network_security_firewall_endpoint_association_operation.go.erb +++ /dev/null @@ -1 +0,0 @@ -project = ""