User Tools

Site Tools


using_terraform

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
using_terraform [2017/08/05 13:49] – [Terraform Apply] walkeradminusing_terraform [2017/08/05 13:50] – [Terraform Apply] walkeradmin
Line 98: Line 98:
 \\  \\ 
 \\  \\ 
-In the command window where you ran Terraform +In the command window where you ran Terraform Plan, you can now use: 
 +\\  
 +    terraform.exe apply 
 +\\  
 +If you don't have any errors, then you will see an output similar to below: 
 +\\  
 +\\  
 +<file> 
 +aws_instance.example: Creating... 
 +  ami:                          "" => "ami-40a8bf24" 
 +  associate_public_ip_address:  "" => "<computed>" 
 +  availability_zone:            "" => "<computed>" 
 +  ebs_block_device.#:           "" => "<computed>" 
 +  ephemeral_block_device.#:     "" => "<computed>" 
 +  instance_state:               "" => "<computed>" 
 +  instance_type:                "" => "t2.micro" 
 +  ipv6_address_count:           "" => "<computed>" 
 +  ipv6_addresses.#:             "" => "<computed>" 
 +  key_name:                     "" => "TestSvr" 
 +  network_interface.#:          "" => "<computed>" 
 +  network_interface_id:         "" => "<computed>" 
 +  placement_group:              "" => "<computed>" 
 +  primary_network_interface_id: "" => "<computed>" 
 +  private_dns:                  "" => "<computed>" 
 +  private_ip:                   "" => "<computed>" 
 +  public_dns:                   "" => "<computed>" 
 +  public_ip:                    "" => "<computed>" 
 +  root_block_device.#:          "" => "<computed>" 
 +  security_groups.#:            "" => "1" 
 +  security_groups.2525401260:   "" => "launch-wizard-1" 
 +  source_dest_check:            "" => "true" 
 +  subnet_id:                    "" => "<computed>" 
 +  tags.%:                       "" => "1" 
 +  tags.Name:                    "" => "terraform-instance" 
 +  tenancy:                      "" => "<computed>" 
 +  volume_tags.%:                "" => "<computed>" 
 +  vpc_security_group_ids.#:     "" => "<computed>" 
 +aws_instance.example: Still creating... (10s elapsed) 
 +aws_instance.example: Still creating... (20s elapsed) 
 +aws_instance.example: Creation complete (ID: i-0781af6ecb9c0f2f5) 
 + 
 +Apply complete! Resources: 1 added, 0 changed, 0 destroyed. 
 + 
 +The state of your infrastructure has been saved to the path 
 +below. This state is required to modify and destroy your 
 +infrastructure, so keep it safe. To inspect the complete state 
 +use the `terraform show` command. 
 + 
 +State path: 
 +</file>
using_terraform.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1