Comments (2)
MNMBP:one-server minguyen$ terraform apply
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:
aws_instance.example will be created
- resource "aws_instance" "example" {
-
ami = "ami-0fb653ca2d3203ac1"
-
arn = (known after apply)
-
associate_public_ip_address = (known after apply)
-
availability_zone = (known after apply)
-
cpu_core_count = (known after apply)
-
cpu_threads_per_core = (known after apply)
-
disable_api_termination = (known after apply)
-
ebs_optimized = (known after apply)
-
get_password_data = false
-
host_id = (known after apply)
-
id = (known after apply)
-
instance_initiated_shutdown_behavior = (known after apply)
-
instance_state = (known after apply)
-
instance_type = "t2.micro"
-
ipv6_address_count = (known after apply)
-
ipv6_addresses = (known after apply)
-
key_name = (known after apply)
-
monitoring = (known after apply)
-
outpost_arn = (known after apply)
-
password_data = (known after apply)
-
placement_group = (known after apply)
-
placement_partition_number = (known after apply)
-
primary_network_interface_id = (known after apply)
-
private_dns = (known after apply)
-
private_ip = (known after apply)
-
public_dns = (known after apply)
-
public_ip = (known after apply)
-
secondary_private_ips = (known after apply)
-
security_groups = (known after apply)
-
source_dest_check = true
-
subnet_id = (known after apply)
-
tags = {
- "Name" = "terraform-example"
}
- "Name" = "terraform-example"
-
tags_all = {
- "Name" = "terraform-example"
}
- "Name" = "terraform-example"
-
tenancy = (known after apply)
-
user_data = (known after apply)
-
user_data_base64 = (known after apply)
-
user_data_replace_on_change = false
-
vpc_security_group_ids = (known after apply)
-
capacity_reservation_specification {
-
capacity_reservation_preference = (known after apply)
-
capacity_reservation_target {
- capacity_reservation_id = (known after apply)
- capacity_reservation_resource_group_arn = (known after apply)
}
}
-
-
ebs_block_device {
- delete_on_termination = (known after apply)
- device_name = (known after apply)
- encrypted = (known after apply)
- iops = (known after apply)
- kms_key_id = (known after apply)
- snapshot_id = (known after apply)
- tags = (known after apply)
- throughput = (known after apply)
- volume_id = (known after apply)
- volume_size = (known after apply)
- volume_type = (known after apply)
}
-
enclave_options {
- enabled = (known after apply)
}
- enabled = (known after apply)
-
ephemeral_block_device {
- device_name = (known after apply)
- no_device = (known after apply)
- virtual_name = (known after apply)
}
-
maintenance_options {
- auto_recovery = (known after apply)
}
- auto_recovery = (known after apply)
-
metadata_options {
- http_endpoint = (known after apply)
- http_put_response_hop_limit = (known after apply)
- http_tokens = (known after apply)
- instance_metadata_tags = (known after apply)
}
-
network_interface {
- delete_on_termination = (known after apply)
- device_index = (known after apply)
- network_card_index = (known after apply)
- network_interface_id = (known after apply)
}
-
root_block_device {
- delete_on_termination = (known after apply)
- device_name = (known after apply)
- encrypted = (known after apply)
- iops = (known after apply)
- kms_key_id = (known after apply)
- tags = (known after apply)
- throughput = (known after apply)
- volume_id = (known after apply)
- volume_size = (known after apply)
- volume_type = (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
aws_instance.example: Creating...
aws_instance.example: Still creating... [10s elapsed]
aws_instance.example: Still creating... [20s elapsed]
aws_instance.example: Creation complete after 22s [id=i-0bb3c2191c397dff2]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
MNMBP:one-server minguyen$ terraform apply
aws_instance.example: Refreshing state... [id=i-0bb3c2191c397dff2]
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes
are needed.
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
MNMBP:one-server minguyen$ terraform apply
aws_instance.example: Refreshing state... [id=i-0bb3c2191c397dff2]
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes
are needed.
Apply complete! Resources: 0 added, 0 changed, 0 destroyed.
MNMBP:one-server minguyen$ terraform plan
^CStopping operation...
Interrupt received.
Please wait for Terraform to exit or data loss may occur.
Gracefully shutting down...
╷
│ Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, request canceled, context canceled
│
│ with provider["registry.terraform.io/hashicorp/aws"],
│ on main.tf line 12, in provider "aws":
│ 12: provider "aws" {
│
╵
MNMBP:one-server minguyen$ terraform plan
^C
Interrupt received.
Please wait for Terraform to exit or data loss may occur.
Gracefully shutting down...
Stopping operation...
╷
│ Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, request canceled, context canceled
│
│ with provider["registry.terraform.io/hashicorp/aws"],
│ on main.tf line 12, in provider "aws":
│ 12: provider "aws" {
│
╵
MNMBP:one-server minguyen$ terraform plan
aws_instance.example: Refreshing state... [id=i-0bb3c2191c397dff2]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with
the following symbols:
~ update in-place
Terraform will perform the following actions:
aws_instance.example will be updated in-place
~ resource "aws_instance" "example" {
id = "i-0bb3c2191c397dff2"
~ tags = {
+ "CustomTag" = "Michael'sTag"
# (1 unchanged element hidden)
}
~ tags_all = {
+ "CustomTag" = "Michael'sTag"
# (1 unchanged element hidden)
}
# (28 unchanged attributes hidden)
# (6 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions
if you run "terraform apply" now.
MNMBP:one-server minguyen$ terraform apply
aws_instance.example: Refreshing state... [id=i-0bb3c2191c397dff2]
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with
the following symbols:
~ update in-place
Terraform will perform the following actions:
aws_instance.example will be updated in-place
~ resource "aws_instance" "example" {
id = "i-0bb3c2191c397dff2"
~ tags = {
+ "CustomTag" = "Michael'sTag"
# (1 unchanged element hidden)
}
~ tags_all = {
+ "CustomTag" = "Michael'sTag"
# (1 unchanged element hidden)
}
# (28 unchanged attributes hidden)
# (6 unchanged blocks hidden)
}
Plan: 0 to add, 1 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
aws_instance.example: Modifying... [id=i-0bb3c2191c397dff2]
aws_instance.example: Modifications complete after 2s [id=i-0bb3c2191c397dff2]
Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
MNMBP:one-server minguyen$ git init
Initialized empty Git repository in /Users/minguyen/Documents/Personal/tf-up-and-running/terraform-up-and-running-code-master/code/terraform/02-intro-to-terraform-syntax/one-server/.git/
MNMBP:one-server minguyen$ git add main.tf .terraform.lock.hcl
MNMBP:one-server minguyen$ git commit -m "Initial commit
"
[main (root-commit) 8c5559d] Initial commit
2 files changed, 50 insertions(+)
create mode 100644 .terraform.lock.hcl
create mode 100644 main.tf
MNMBP:one-server minguyen$ #!/bin/bash
MNMBP:one-server minguyen$ cd ..
MNMBP:02-intro-to-terraform-syntax minguyen$ ls
one-server one-webserver one-webserver-with-vars webserver-cluster
MNMBP:02-intro-to-terraform-syntax minguyen$ cd one-webserver
MNMBP:one-webserver minguyen$ ls
README.md main.tf
MNMBP:one-webserver minguyen$ terraform plan
╷
│ Error: Required plugins are not installed
│
│ The installed provider plugins are not consistent with the packages selected in the dependency lock file:
│ - registry.terraform.io/hashicorp/aws: there is no package for registry.terraform.io/hashicorp/aws 4.19.0 cached in .terraform/providers
│
│ Terraform uses external plugins to integrate with a variety of different infrastructure services. To download the
│ plugins required for this configuration, run:
│ terraform init
╵
MNMBP:one-webserver minguyen$ terraform init
Initializing the backend...
Initializing provider plugins...
- Reusing previous version of hashicorp/aws from the dependency lock file
- Installing hashicorp/aws v4.19.0...
- Installed hashicorp/aws v4.19.0 (signed by HashiCorp)
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.
MNMBP:one-webserver minguyen$ terraform graph
digraph {
compound = "true"
newrank = "true"
subgraph "root" {
"[root] aws_instance.example (expand)" [label = "aws_instance.example", shape = "box"]
"[root] aws_security_group.instance (expand)" [label = "aws_security_group.instance", shape = "box"]
"[root] provider["registry.terraform.io/hashicorp/aws"]" [label = "provider["registry.terraform.io/hashicorp/aws"]", shape = "diamond"]
"[root] var.security_group_name" [label = "var.security_group_name", shape = "note"]
"[root] aws_instance.example (expand)" -> "[root] aws_security_group.instance (expand)"
"[root] aws_security_group.instance (expand)" -> "[root] provider["registry.terraform.io/hashicorp/aws"]"
"[root] aws_security_group.instance (expand)" -> "[root] var.security_group_name"
"[root] output.public_ip (expand)" -> "[root] aws_instance.example (expand)"
"[root] provider["registry.terraform.io/hashicorp/aws"] (close)" -> "[root] aws_instance.example (expand)"
"[root] root" -> "[root] output.public_ip (expand)"
"[root] root" -> "[root] provider["registry.terraform.io/hashicorp/aws"] (close)"
}
}
MNMBP:one-webserver minguyen$ terraform plan
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:
aws_instance.example will be created
- resource "aws_instance" "example" {
-
ami = "ami-0fb653ca2d3203ac1"
-
arn = (known after apply)
-
associate_public_ip_address = (known after apply)
-
availability_zone = (known after apply)
-
cpu_core_count = (known after apply)
-
cpu_threads_per_core = (known after apply)
-
disable_api_termination = (known after apply)
-
ebs_optimized = (known after apply)
-
get_password_data = false
-
host_id = (known after apply)
-
id = (known after apply)
-
instance_initiated_shutdown_behavior = (known after apply)
-
instance_state = (known after apply)
-
instance_type = "t2.micro"
-
ipv6_address_count = (known after apply)
-
ipv6_addresses = (known after apply)
-
key_name = (known after apply)
-
monitoring = (known after apply)
-
outpost_arn = (known after apply)
-
password_data = (known after apply)
-
placement_group = (known after apply)
-
placement_partition_number = (known after apply)
-
primary_network_interface_id = (known after apply)
-
private_dns = (known after apply)
-
private_ip = (known after apply)
-
public_dns = (known after apply)
-
public_ip = (known after apply)
-
secondary_private_ips = (known after apply)
-
security_groups = (known after apply)
-
source_dest_check = true
-
subnet_id = (known after apply)
-
tags = {
- "Name" = "terraform-example"
}
- "Name" = "terraform-example"
-
tags_all = {
- "Name" = "terraform-example"
}
- "Name" = "terraform-example"
-
tenancy = (known after apply)
-
user_data = "c765373c563b260626d113c4a56a46e8a8c5ca33"
-
user_data_base64 = (known after apply)
-
user_data_replace_on_change = true
-
vpc_security_group_ids = (known after apply)
-
capacity_reservation_specification {
-
capacity_reservation_preference = (known after apply)
-
capacity_reservation_target {
- capacity_reservation_id = (known after apply)
- capacity_reservation_resource_group_arn = (known after apply)
}
}
-
-
ebs_block_device {
- delete_on_termination = (known after apply)
- device_name = (known after apply)
- encrypted = (known after apply)
- iops = (known after apply)
- kms_key_id = (known after apply)
- snapshot_id = (known after apply)
- tags = (known after apply)
- throughput = (known after apply)
- volume_id = (known after apply)
- volume_size = (known after apply)
- volume_type = (known after apply)
}
-
enclave_options {
- enabled = (known after apply)
}
- enabled = (known after apply)
-
ephemeral_block_device {
- device_name = (known after apply)
- no_device = (known after apply)
- virtual_name = (known after apply)
}
-
maintenance_options {
- auto_recovery = (known after apply)
}
- auto_recovery = (known after apply)
-
metadata_options {
- http_endpoint = (known after apply)
- http_put_response_hop_limit = (known after apply)
- http_tokens = (known after apply)
- instance_metadata_tags = (known after apply)
}
-
network_interface {
- delete_on_termination = (known after apply)
- device_index = (known after apply)
- network_card_index = (known after apply)
- network_interface_id = (known after apply)
}
-
root_block_device {
- delete_on_termination = (known after apply)
- device_name = (known after apply)
- encrypted = (known after apply)
- iops = (known after apply)
- kms_key_id = (known after apply)
- tags = (known after apply)
- throughput = (known after apply)
- volume_id = (known after apply)
- volume_size = (known after apply)
- volume_type = (known after apply)
}
}
-
aws_security_group.instance will be created
- resource "aws_security_group" "instance" {
- arn = (known after apply)
- description = "Managed by Terraform"
- egress = (known after apply)
- id = (known after apply)
- ingress = [
- {
- cidr_blocks = [
- "0.0.0.0/0",
]
- "0.0.0.0/0",
- description = ""
- from_port = 8080
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = []
- self = false
- to_port = 8080
},
]
- cidr_blocks = [
- {
- name = "terraform-example-instance"
- name_prefix = (known after apply)
- owner_id = (known after apply)
- revoke_rules_on_delete = false
- tags_all = (known after apply)
- vpc_id = (known after apply)
}
Plan: 2 to add, 0 to change, 0 to destroy.
Changes to Outputs:
- public_ip = (known after apply)
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions
if you run "terraform apply" now.
MNMBP:one-webserver minguyen$ terraform plan
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:
aws_instance.example will be created
- resource "aws_instance" "example" {
-
ami = "ami-0fb653ca2d3203ac1"
-
arn = (known after apply)
-
associate_public_ip_address = (known after apply)
-
availability_zone = (known after apply)
-
cpu_core_count = (known after apply)
-
cpu_threads_per_core = (known after apply)
-
disable_api_termination = (known after apply)
-
ebs_optimized = (known after apply)
-
get_password_data = false
-
host_id = (known after apply)
-
id = (known after apply)
-
instance_initiated_shutdown_behavior = (known after apply)
-
instance_state = (known after apply)
-
instance_type = "t2.micro"
-
ipv6_address_count = (known after apply)
-
ipv6_addresses = (known after apply)
-
key_name = (known after apply)
-
monitoring = (known after apply)
-
outpost_arn = (known after apply)
-
password_data = (known after apply)
-
placement_group = (known after apply)
-
placement_partition_number = (known after apply)
-
primary_network_interface_id = (known after apply)
-
private_dns = (known after apply)
-
private_ip = (known after apply)
-
public_dns = (known after apply)
-
public_ip = (known after apply)
-
secondary_private_ips = (known after apply)
-
security_groups = (known after apply)
-
source_dest_check = true
-
subnet_id = (known after apply)
-
tags = {
- "Name" = "terraform-example"
}
- "Name" = "terraform-example"
-
tags_all = {
- "Name" = "terraform-example"
}
- "Name" = "terraform-example"
-
tenancy = (known after apply)
-
user_data = "c765373c563b260626d113c4a56a46e8a8c5ca33"
-
user_data_base64 = (known after apply)
-
user_data_replace_on_change = true
-
vpc_security_group_ids = (known after apply)
-
capacity_reservation_specification {
-
capacity_reservation_preference = (known after apply)
-
capacity_reservation_target {
- capacity_reservation_id = (known after apply)
- capacity_reservation_resource_group_arn = (known after apply)
}
}
-
-
ebs_block_device {
- delete_on_termination = (known after apply)
- device_name = (known after apply)
- encrypted = (known after apply)
- iops = (known after apply)
- kms_key_id = (known after apply)
- snapshot_id = (known after apply)
- tags = (known after apply)
- throughput = (known after apply)
- volume_id = (known after apply)
- volume_size = (known after apply)
- volume_type = (known after apply)
}
-
enclave_options {
- enabled = (known after apply)
}
- enabled = (known after apply)
-
ephemeral_block_device {
- device_name = (known after apply)
- no_device = (known after apply)
- virtual_name = (known after apply)
}
-
maintenance_options {
- auto_recovery = (known after apply)
}
- auto_recovery = (known after apply)
-
metadata_options {
- http_endpoint = (known after apply)
- http_put_response_hop_limit = (known after apply)
- http_tokens = (known after apply)
- instance_metadata_tags = (known after apply)
}
-
network_interface {
- delete_on_termination = (known after apply)
- device_index = (known after apply)
- network_card_index = (known after apply)
- network_interface_id = (known after apply)
}
-
root_block_device {
- delete_on_termination = (known after apply)
- device_name = (known after apply)
- encrypted = (known after apply)
- iops = (known after apply)
- kms_key_id = (known after apply)
- tags = (known after apply)
- throughput = (known after apply)
- volume_id = (known after apply)
- volume_size = (known after apply)
- volume_type = (known after apply)
}
}
-
aws_security_group.instance will be created
- resource "aws_security_group" "instance" {
- arn = (known after apply)
- description = "Managed by Terraform"
- egress = (known after apply)
- id = (known after apply)
- ingress = [
- {
- cidr_blocks = [
- "0.0.0.0/0",
]
- "0.0.0.0/0",
- description = ""
- from_port = 8080
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = []
- self = false
- to_port = 8080
},
]
- cidr_blocks = [
- {
- name = "terraform-example-instance"
- name_prefix = (known after apply)
- owner_id = (known after apply)
- revoke_rules_on_delete = false
- tags_all = (known after apply)
- vpc_id = (known after apply)
}
Plan: 2 to add, 0 to change, 0 to destroy.
Changes to Outputs:
- public_ip = (known after apply)
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions
if you run "terraform apply" now.
MNMBP:one-webserver minguyen$ terraform apply
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:
aws_instance.example will be created
- resource "aws_instance" "example" {
-
ami = "ami-0fb653ca2d3203ac1"
-
arn = (known after apply)
-
associate_public_ip_address = (known after apply)
-
availability_zone = (known after apply)
-
cpu_core_count = (known after apply)
-
cpu_threads_per_core = (known after apply)
-
disable_api_termination = (known after apply)
-
ebs_optimized = (known after apply)
-
get_password_data = false
-
host_id = (known after apply)
-
id = (known after apply)
-
instance_initiated_shutdown_behavior = (known after apply)
-
instance_state = (known after apply)
-
instance_type = "t2.micro"
-
ipv6_address_count = (known after apply)
-
ipv6_addresses = (known after apply)
-
key_name = (known after apply)
-
monitoring = (known after apply)
-
outpost_arn = (known after apply)
-
password_data = (known after apply)
-
placement_group = (known after apply)
-
placement_partition_number = (known after apply)
-
primary_network_interface_id = (known after apply)
-
private_dns = (known after apply)
-
private_ip = (known after apply)
-
public_dns = (known after apply)
-
public_ip = (known after apply)
-
secondary_private_ips = (known after apply)
-
security_groups = (known after apply)
-
source_dest_check = true
-
subnet_id = (known after apply)
-
tags = {
- "Name" = "terraform-example"
}
- "Name" = "terraform-example"
-
tags_all = {
- "Name" = "terraform-example"
}
- "Name" = "terraform-example"
-
tenancy = (known after apply)
-
user_data = "c765373c563b260626d113c4a56a46e8a8c5ca33"
-
user_data_base64 = (known after apply)
-
user_data_replace_on_change = true
-
vpc_security_group_ids = (known after apply)
-
capacity_reservation_specification {
-
capacity_reservation_preference = (known after apply)
-
capacity_reservation_target {
- capacity_reservation_id = (known after apply)
- capacity_reservation_resource_group_arn = (known after apply)
}
}
-
-
ebs_block_device {
- delete_on_termination = (known after apply)
- device_name = (known after apply)
- encrypted = (known after apply)
- iops = (known after apply)
- kms_key_id = (known after apply)
- snapshot_id = (known after apply)
- tags = (known after apply)
- throughput = (known after apply)
- volume_id = (known after apply)
- volume_size = (known after apply)
- volume_type = (known after apply)
}
-
enclave_options {
- enabled = (known after apply)
}
- enabled = (known after apply)
-
ephemeral_block_device {
- device_name = (known after apply)
- no_device = (known after apply)
- virtual_name = (known after apply)
}
-
maintenance_options {
- auto_recovery = (known after apply)
}
- auto_recovery = (known after apply)
-
metadata_options {
- http_endpoint = (known after apply)
- http_put_response_hop_limit = (known after apply)
- http_tokens = (known after apply)
- instance_metadata_tags = (known after apply)
}
-
network_interface {
- delete_on_termination = (known after apply)
- device_index = (known after apply)
- network_card_index = (known after apply)
- network_interface_id = (known after apply)
}
-
root_block_device {
- delete_on_termination = (known after apply)
- device_name = (known after apply)
- encrypted = (known after apply)
- iops = (known after apply)
- kms_key_id = (known after apply)
- tags = (known after apply)
- throughput = (known after apply)
- volume_id = (known after apply)
- volume_size = (known after apply)
- volume_type = (known after apply)
}
}
-
aws_security_group.instance will be created
- resource "aws_security_group" "instance" {
- arn = (known after apply)
- description = "Managed by Terraform"
- egress = (known after apply)
- id = (known after apply)
- ingress = [
- {
- cidr_blocks = [
- "0.0.0.0/0",
]
- "0.0.0.0/0",
- description = ""
- from_port = 8080
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = []
- self = false
- to_port = 8080
},
]
- cidr_blocks = [
- {
- name = "terraform-example-instance"
- name_prefix = (known after apply)
- owner_id = (known after apply)
- revoke_rules_on_delete = false
- tags_all = (known after apply)
- vpc_id = (known after apply)
}
Plan: 2 to add, 0 to change, 0 to destroy.
Changes to Outputs:
- public_ip = (known after apply)
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
aws_security_group.instance: Creating...
aws_security_group.instance: Creation complete after 3s [id=sg-0046861b446d2e744]
aws_instance.example: Creating...
aws_instance.example: Still creating... [10s elapsed]
aws_instance.example: Still creating... [20s elapsed]
aws_instance.example: Creation complete after 22s [id=i-0a6bcc0919b133d57]
Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
Outputs:
public_ip = "redacted"
MNMBP:one-webserver minguyen$ terraform plan
aws_security_group.instance: Refreshing state... [id=sg-0046861b446d2e744]
aws_instance.example: Refreshing state... [id=i-0a6bcc0919b133d57]
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes
are needed.
MNMBP:one-webserver minguyen$
from terraform-up-and-running-code.
Could you put the log output into several code fences, one for each thing you ran? It's very hard to read it otherwise, as a lot of the syntax is being interpreted as Markdown, the content is wrapping, etc.
from terraform-up-and-running-code.
Related Issues (20)
- EC2 instance not responding on port 8080 HOT 3
- Issue with code update for EC2 HOT 3
- Terraform Up and Running, 3rd Edition, Chapter 4, Modularizing MySQL HOT 3
- Chapter 3: How to Manage Terraform State
- Ch7: K8s example doesn't start HOT 1
- failed to lock s3 state: 2 errors occurred: HOT 1
- Looking for an full example
- Chapter 3 - Isolation Via Workspaces HOT 1
- Chapter 3 HOT 3
- Chapter 3: webserver-cluster ALB unable to access HOT 1
- Chapter 3: db.t2.micro instance type is deprecated
- Why this web server cluster definition doesn't have backend configuration? HOT 2
- Ed. 2, Ch. 4 - Terraform modules. Remote state location for webserver uses key for mysql HOT 1
- Chapter 2, 3rd Edition, failed to retrieve auto scaling groups HOT 4
- Chapter 7, 3rd edition - IAM role required to create new AWS account failed to allow login acces HOT 1
- Chapter 2 - "Deploy a Single Server" needs updating now that EC2 classic is retired. HOT 3
- Chapter-3 - webserver not showing proper html format. HOT 2
- aws_launch_configuration: "couldn't find resource" on terraform apply HOT 2
- Chapter 5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-up-and-running-code.