Pearl1594 opened a new pull request, #205: URL: https://github.com/apache/cloudstack-terraform-provider/pull/205
Test done: Terraform config: ``` terraform { required_providers { cloudstack = { source = "cloudstack/cloudstack" version = "0.5.0" } } } provider "cloudstack" { api_url = "http://MS_IP8080/client/api" api_key = "LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q" secret_key = "R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg" } resource "cloudstack_network_offering" "default" { name = "pd-tf-test-for-vpc" display_text = "Network offering created using Terraform" guest_ip_type = "Isolated" traffic_type = "GUEST" network_rate = 1000 max_connections = 2 network_mode = "NATTED" for_vpc = true supported_services = ["Dhcp", "Dns", "NetworkACL", "Lb", "SourceNat", "StaticNat"] for_nsx = false specify_as_number = false specify_vlan = true specify_ip_ranges = false service_provider_list = { Dhcp = "VpcVirtualRouter" Dns = "VpcVirtualRouter" NetworkAcl = "VpcVirtualRouter" Lb = "VpcVirtualRouter" SourceNat = "VpcVirtualRouter" StaticNat = "VpcVirtualRouter" } conserve_mode = true enable = true } ``` On applying the config: ``` ~/sb/terraform/acs_features/network_offerings$ terraform apply ╷ │ Warning: Provider development overrides are in effect │ │ The following provider development overrides are set in the CLI configuration: │ - cloudstack/cloudstack in /home/pdsilva/sb/terraform/local-providers │ │ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases. ╵ Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # cloudstack_network_offering.default will be created + resource "cloudstack_network_offering" "default" { + conserve_mode = true + display_text = "Network offering created using Terraform" + enable = true + for_nsx = false + for_vpc = true + guest_ip_type = "Isolated" + id = (known after apply) + max_connections = 2 + name = "pd-tf-test-for-vpc" + network_mode = "NATTED" + network_rate = 1000 + service_provider_list = { + "Dhcp" = "VpcVirtualRouter" + "Dns" = "VpcVirtualRouter" + "Lb" = "VpcVirtualRouter" + "NetworkAcl" = "VpcVirtualRouter" + "SourceNat" = "VpcVirtualRouter" + "StaticNat" = "VpcVirtualRouter" } + specify_as_number = false + specify_ip_ranges = false + specify_vlan = true + supported_services = [ + "Dhcp", + "Dns", + "Lb", + "NetworkACL", + "SourceNat", + "StaticNat", ] + traffic_type = "GUEST" } Plan: 1 to add, 0 to change, 0 to destroy. Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve. Enter a value: yes cloudstack_network_offering.default: Creating... cloudstack_network_offering.default: Creation complete after 1s [id=83e4ff5c-787c-4f9a-b640-946607d7888d] ``` <img width="753" height="773" alt="image" src="https://github.com/user-attachments/assets/a9e251bf-f4ce-4b87-b5ba-e60cfaa840ca" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org