Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.18 KB | None | 0 0
  1. [aimless@dev 3tier]$ terraform plan
  2. Refreshing Terraform state prior to plan...
  3.  
  4.  
  5. The Terraform execution plan has been generated and is shown below.
  6. Resources are shown in alphabetical order for quick scanning. Green resources
  7. will be created (or destroyed and then created if an existing resource
  8. exists), yellow resources are being changed in-place, and red resources
  9. will be destroyed.
  10.  
  11. Note: You didn't specify an "-out" parameter to save this plan, so when
  12. "apply" is called, Terraform can't guarantee this is what will execute.
  13.  
  14. + aws_instance.web
  15. ami: "" => "ami-18869819"
  16. associate_public_ip_address: "" => "1"
  17. availability_zone: "" => "<computed>"
  18. block_device.#: "" => "1"
  19. block_device.1044531585.delete_on_termination: "" => "1"
  20. block_device.1044531585.device_name: "" => "/dev/xvdb"
  21. block_device.1044531585.encrypted: "" => "<computed>"
  22. block_device.1044531585.snapshot_id: "" => "<computed>"
  23. block_device.1044531585.virtual_name: "" => ""
  24. block_device.1044531585.volume_size: "" => "20"
  25. block_device.1044531585.volume_type: "" => "gp2"
  26. instance_type: "" => "t2.micro"
  27. key_name: "" => "20150303"
  28. private_dns: "" => "<computed>"
  29. private_ip: "" => "<computed>"
  30. public_dns: "" => "<computed>"
  31. public_ip: "" => "<computed>"
  32. root_block_device.#: "" => "1"
  33. root_block_device.0.delete_on_termination: "" => "1"
  34. root_block_device.0.device_name: "" => "/dev/sda1"
  35. root_block_device.0.volume_size: "" => "10"
  36. root_block_device.0.volume_type: "" => "gp2"
  37. security_groups.#: "" => "2"
  38. security_groups.3857270386: "" => "sg-aa2686cf"
  39. security_groups.41879450: "" => "sg-1fcc2d7a"
  40. subnet_id: "" => "subnet-5b47651d"
  41. tags.#: "" => "1"
  42. tags.Name: "" => "terraform"
  43. tenancy: "" => "<computed>"
  44.  
  45.  
  46. [aimless@dev 3tier]$ terraform apply
  47. aws_instance.web: Creating...
  48. ami: "" => "ami-18869819"
  49. associate_public_ip_address: "" => "1"
  50. availability_zone: "" => "<computed>"
  51. block_device.#: "" => "1"
  52. block_device.1044531585.delete_on_termination: "" => "1"
  53. block_device.1044531585.device_name: "" => "/dev/xvdb"
  54. block_device.1044531585.encrypted: "" => "<computed>"
  55. block_device.1044531585.snapshot_id: "" => "<computed>"
  56. block_device.1044531585.virtual_name: "" => ""
  57. block_device.1044531585.volume_size: "" => "20"
  58. block_device.1044531585.volume_type: "" => "gp2"
  59. instance_type: "" => "t2.micro"
  60. key_name: "" => "20150303"
  61. private_dns: "" => "<computed>"
  62. private_ip: "" => "<computed>"
  63. public_dns: "" => "<computed>"
  64. public_ip: "" => "<computed>"
  65. root_block_device.#: "" => "1"
  66. root_block_device.0.delete_on_termination: "" => "1"
  67. root_block_device.0.device_name: "" => "/dev/sda1"
  68. root_block_device.0.volume_size: "" => "10"
  69. root_block_device.0.volume_type: "" => "gp2"
  70. security_groups.#: "" => "2"
  71. security_groups.3857270386: "" => "sg-aa2686cf"
  72. security_groups.41879450: "" => "sg-1fcc2d7a"
  73. subnet_id: "" => "subnet-5b47651d"
  74. tags.#: "" => "1"
  75. tags.Name: "" => "terraform"
  76. tenancy: "" => "<computed>"
  77. aws_instance.web: Creation complete
  78.  
  79. Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
  80.  
  81. The state of your infrastructure has been saved to the path
  82. below. This state is required to modify and destroy your
  83. infrastructure, so keep it safe. To inspect the complete state
  84. use the `terraform show` command.
  85.  
  86. State path: terraform.tfstate
  87. [aimless@dev 3tier]$ terraform show
  88. aws_instance.web:
  89. id = i-765bae83
  90. ami = ami-18869819
  91. associate_public_ip_address = true
  92. availability_zone = ap-northeast-1c
  93. block_device.# = 2
  94. block_device.1044531585.delete_on_termination = true
  95. block_device.1044531585.device_name = /dev/xvdb
  96. block_device.1044531585.encrypted = false
  97. block_device.1044531585.snapshot_id =
  98. block_device.1044531585.virtual_name =
  99. block_device.1044531585.volume_size = 20
  100. block_device.1044531585.volume_type = gp2
  101. block_device.2936417914.delete_on_termination = true
  102. block_device.2936417914.device_name = /dev/sda1
  103. block_device.2936417914.encrypted = false
  104. block_device.2936417914.snapshot_id =
  105. block_device.2936417914.virtual_name =
  106. block_device.2936417914.volume_size = 10
  107. block_device.2936417914.volume_type = gp2
  108. instance_type = t2.micro
  109. key_name = 20150303
  110. private_dns = ip-10-175-1-155.ap-northeast-1.compute.internal
  111. private_ip = 10.175.1.155
  112. public_dns = ec2-54-64-189-80.ap-northeast-1.compute.amazonaws.com
  113. public_ip = 54.64.189.80
  114. root_block_device.# = 1
  115. root_block_device.0.delete_on_termination = true
  116. root_block_device.0.device_name = /dev/xvda
  117. root_block_device.0.volume_size = 8
  118. root_block_device.0.volume_type = standard
  119. security_groups.# = 2
  120. security_groups.3857270386 = sg-aa2686cf
  121. security_groups.41879450 = sg-1fcc2d7a
  122. subnet_id = subnet-5b47651d
  123. tenancy = default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement