Initializing provider plugins... - Reusing previousversion of tencentcloudstack/tencentcloud from the dependency lock file - Using previously-installed tencentcloudstack/tencentcloud v1.58.4
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 setorchange modules or backend configuration for Terraform, rerun this commandto reinitialize your working directory. If you forget, other commands will detect it and remind you todosoif necessary.
The available commands for execution are listed below. The primary workflow commands are given first, followed by less common or more advanced commands.
Main commands: init Prepare your working directory for other commands validate Check whether the configuration is valid plan Show changes required by the current configuration apply Create or update infrastructure destroy Destroy previously-created infrastructure
All other commands: console Try Terraform expressions at an interactive command prompt fmt Reformat your configuration in the standard style force-unlock Release a stuck lock on the current workspace get Install or upgrade remote Terraform modules graph Generate a Graphviz graph of the steps in an operation import Associate existing infrastructure with a Terraform resource login Obtain and save credentials for a remote host logout Remove locally-stored credentials for a remote host output Show output values from your root module providers Show the providers required for this configuration refresh Update the statetomatch remote systems show Show the current state or a saved plan state Advanced state management taint Mark a resource instance as not fully functional test Experimental support for module integration testing untaint Remove the 'tainted' statefrom a resource instance version Show the current Terraform version workspace Workspace management
Global options (use these before the subcommand, if any): -chdir=DIR Switch to a different working directory before executing the given subcommand. -help Show this help output, or the help for a specified subcommand. -version An alias for the "version" subcommand.
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated withthe following symbols: + create
Terraform will perform the following actions:
# tencentcloud_security_group.sglab_1 will be created + resource "tencentcloud_security_group""sglab_1" { + description = "favourite sg_1" + id = (known after apply) + name = "mysg_1" + project_id = 0 }
# tencentcloud_security_group_rule.sglab_1 will be created + resource "tencentcloud_security_group_rule""sglab_1" { + cidr_ip = "10.0.0.0/16" + description = "favourite sg rule_1" + id = (known after apply) + ip_protocol = "TCP" + policy = "ACCEPT" + port_range = "80" + security_group_id = (known after apply) + source_sgid = (known after apply) + type = "ingress"
+ address_template { + group_id = (known after apply) + template_id = (known after apply) }
+ protocol_template { + group_id = (known after apply) + template_id = (known after apply) } }
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated withthe following symbols: + create
Terraform will perform the following actions:
# tencentcloud_security_group.sglab_1 will be created + resource "tencentcloud_security_group""sglab_1" { + description = "favourite sg_1" + id = (known after apply) + name = "mysg_1" + project_id = 0 }
# tencentcloud_security_group_rule.sglab_1 will be created + resource "tencentcloud_security_group_rule""sglab_1" { + cidr_ip = "10.0.0.0/16" + description = "favourite sg rule_1" + id = (known after apply) + ip_protocol = "TCP" + policy = "ACCEPT" + port_range = "80" + security_group_id = (known after apply) + source_sgid = (known after apply) + type = "ingress"
+ address_template { + group_id = (known after apply) + template_id = (known after apply) }
+ protocol_template { + group_id = (known after apply) + template_id = (known after apply) } }
Plan: 2to add, 0to change, 0to destroy.
Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve.