Terraform has created a lock file .terraform.lock.hcl to record the provider selections it made above. Include this file in your version control repository so that Terraform can guarantee to make the same selections by default when you run "terraform init" in the future.
Terraform has been successfully initialized!
You may now begin working with Terraform. Try running "terraform plan" to see any changes that are required for your infrastructure. All Terraform commands should now work.
If you ever set or change modules or backend configuration for Terraform, rerun this command to reinitialize your working directory. If you forget, other commands will detect it and remind you to do so if necessary.
An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols: + create
Terraform will perform the following actions:
# huaweicloud_vpc.example will be created + resource "huaweicloud_vpc" "example" { + cidr = "192.168.0.0/16" + enterprise_project_id = (known after apply) + id = (known after apply) + name = "gz_vpc" + region = (known after apply) + routes = (known after apply) + shared = (known after apply) + status = (known after apply) }
Note: You didn't specify an "-out" parameter to save this plan, so Terraform can't guarantee that exactly these actions will be performed if "terraform apply" is subsequently run.
An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols: + create
Terraform will perform the following actions:
# huaweicloud_vpc.example will be created + resource "huaweicloud_vpc" "example" { + cidr = "192.168.0.0/16" + enterprise_project_id = (known after apply) + id = (known after apply) + name = "gz_vpc" + region = (known after apply) + routes = (known after apply) + shared = (known after apply) + status = (known after apply) }
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
huaweicloud_vpc.example: Creating... huaweicloud_vpc.example: Creation complete after 7s [id=420c4ed2-20e5-4dca-b4bf-3758535ccbfc]
An execution plan has been generated and is shown below. Resource actions are indicated with the following symbols: - destroy
Terraform will perform the following actions:
# huaweicloud_vpc.example will be destroyed - resource "huaweicloud_vpc" "example" { - cidr = "192.168.0.0/16" -> null - enterprise_project_id = "0" -> null - id = "420c4ed2-20e5-4dca-b4bf-3758535ccbfc" -> null - name = "gz_vpc" -> null - region = "cn-east-2" -> null - routes = [] -> null - shared = false -> null - status = "OK" -> null }
Plan: 0 to add, 0 to change, 1 to destroy.
Do you really want to destroy all resources? Terraform will destroy all your managed infrastructure, as shown above. There is no undo. Only 'yes' will be accepted to confirm.
Enter a value: yes
huaweicloud_vpc.example: Destroying... [id=420c4ed2-20e5-4dca-b4bf-3758535ccbfc] huaweicloud_vpc.example: Still destroying... [id=420c4ed2-20e5-4dca-b4bf-3758535ccbfc, 10s elapsed] huaweicloud_vpc.example: Destruction complete after 11s