-
Notifications
You must be signed in to change notification settings - Fork 13
Update ec2.tf #840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update ec2.tf #840
Conversation
The following env0 environments are affected by changes to this PR:
To apply changes to all the environments above, use:
To apply changes using custom filters (click here for more info), use:
|
🚀 env0 had composed a PR Plan for environment Stuff / acme-demo simple-ec2-instance :
Failure Details╷
│ Error: No value for required variable
│
│ on variables.tf line 11:
│ 11: variable "vpc_id" {
│
│ The root module input variable "vpc_id" is not set, and has no default
│ value. Use a -var or -var-file command line argument to provide a value for
│ this variable.
╵
|
🚀 env0 had composed a PR Plan for environment Compass Demo Account / FrontEnd Servers - Drifted :
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] must be replaced
-/+ resource "aws_instance" "this" {
! ami = "ami-057439a71140a950c" -> "ami-0a15226b1f7f23580" # forces replacement
! arn = "arn:aws:ec2:us-west-2:326535729404:instance/i-06a56465c50171e3a" -> (known after apply)
! availability_zone = "us-west-2a" -> (known after apply)
! cpu_core_count = 1 -> (known after apply)
! cpu_threads_per_core = 2 -> (known after apply)
- hibernation = false -> null
+ host_id = (known after apply)
! id = "i-06a56465c50171e3a" -> (known after apply)
! instance_initiated_shutdown_behavior = "stop" -> (known after apply)
! instance_state = "running" -> (known after apply)
! instance_type = "t3a.small" -> "t3a.micro"
! ipv6_address_count = 0 -> (known after apply)
! ipv6_addresses = [] -> (known after apply)
+ key_name = (known after apply)
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (known after apply)
! primary_network_interface_id = "eni-0a289a20d3272cec0" -> (known after apply)
! private_dns = "ip-172-32-23-72.us-west-2.compute.internal" -> (known after apply)
! private_ip = "172.32.23.72" -> (known after apply)
! public_dns = "ec2-34-219-206-234.us-west-2.compute.amazonaws.com" -> (known after apply)
! public_ip = "34.219.206.234" -> (known after apply)
! secondary_private_ips = [] -> (known after apply)
! security_groups = [] -> (known after apply)
! tags = {
! "Demo" = "March 18" -> "May 20"
"Name" = "acme-frontend-drift-cause-test"
"Owner" = "acme demo org"
"Terraform" = "true"
- "Test" = "new taga" -> null
}
! tags_all = {
! "Demo" = "March 18" -> "May 20"
- "Test" = "new taga" -> null
# (3 unchanged elements hidden)
}
! vpc_security_group_ids = [
- "sg-02f4a89f8b797a3da",
] -> (known after apply)
# (9 unchanged attributes hidden)
! ebs_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! enclave_options {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! ephemeral_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! metadata_options {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! network_interface {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! root_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
# (1 unchanged block hidden)
}
Plan: 1 to add, 0 to change, 1 to destroy.
Changes to Outputs:
! instances = [
- "i-06a56465c50171e3a",
+ (known after apply),
]
! private_ip = [
- "172.32.23.72",
+ (known after apply),
]
! public_ip = [
- "34.219.206.234",
+ (known after apply),
]
Cost Estimation DetailsKey: * usage cost, ~ changed, + added, - removed
──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json
! module.acme-ec2.aws_instance.this[0]
-$7 ($15 → $8)
! Instance usage (Linux/UNIX, on-demand, t3a.small → t3a.micro)
-$7 ($14 → $7)
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount: -$7 ($15 → $8)
Percent: -47%
──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed
*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.
1 cloud resource was detected:
∙ 1 was estimated
Infracost estimate: Monthly estimate decreased by $7 ↓
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json ┃ -$7 ┃ - ┃ -$7 (-47%) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛ |
🚀 env0 had composed a PR Plan for environment Child / FrontEnd Servers EC2-66461 :
Failure Details╷
│ Error: multiple VPCs matched; use additional constraints to reduce matches to a single VPC
│
│ with data.aws_vpc.selected,
│ on ec2.tf line 32, in data "aws_vpc" "selected":
│ 32: data "aws_vpc" "selected" {
│
╵
|
🚀 env0 had composed a PR Plan for environment Stuff / FrontEnd Servers EC2-88735 :
Failure Details╷
│ Error: error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.
│
│ Please see https://registry.terraform.io/providers/hashicorp/aws
│ for more information about providing credentials.
│
│ Error: NoCredentialProviders: no valid providers in chain. Deprecated.
│ For verbose messaging see aws.Config.CredentialsChainVerboseErrors
│
│
│ with provider["registry.opentofu.org/hashicorp/aws"],
│ on provider.tf line 10, in provider "aws":
│ 10: provider "aws" {
│
╵
|
🚀 env0 had composed a PR Plan for environment Shenanigans / DUPLICATED-acme-demo simple-ec2-instance :
Plan DetailsTerraform 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:
# module.acme-ec2.aws_instance.this[0] will be created
+ resource "aws_instance" "this" {
+ ami = "ami-0a15226b1f7f23580"
+ arn = (known after apply)
+ associate_public_ip_address = true
+ availability_zone = (known after apply)
+ cpu_core_count = (known after apply)
+ cpu_threads_per_core = (known after apply)
+ disable_api_termination = false
+ ebs_optimized = false
+ 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 = "t3a.small"
+ ipv6_address_count = (known after apply)
+ ipv6_addresses = (known after apply)
+ key_name = (known after apply)
+ monitoring = false
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (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 = "subnet-0239c0713c64a677f"
+ tags = {
+ "Demo" = "May 20"
+ "Name" = "env0-acme-ec2"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
}
+ tags_all = {
+ "Demo" = "May 20"
+ "Name" = "env0-acme-ec2"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
}
+ tenancy = "default"
+ volume_tags = {
+ "Name" = "env0-acme-ec2"
}
+ vpc_security_group_ids = (known after apply)
+ credit_specification {
+ cpu_credits = "standard"
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ instances = [
+ (known after apply),
]
+ private_ip = [
+ (known after apply),
]
+ public_ip = [
+ (known after apply),
]
|
🚀 env0 had composed a PR Plan for environment Drift / FrontEnd Servers EC2-36179 :
Failure Details╷
│ Error: InvalidVpcID.NotFound: The vpc ID 'vpc-0af0fdb55cb58d823' does not exist
│ status code: 400, request id: 576cbfa1-c2b8-469c-a138-069e4fc260d5
│
│ with data.aws_vpc.selected,
│ on ec2.tf line 32, in data "aws_vpc" "selected":
│ 32: data "aws_vpc" "selected" {
│
╵
|
🚀 env0 had composed a PR Plan for environment Dev - 244172364962 / FrontEnd Servers EC2-32846 :
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] will be created
+ resource "aws_instance" "this" {
+ ami = "ami-0a15226b1f7f23580"
+ arn = (known after apply)
+ associate_public_ip_address = true
+ availability_zone = (known after apply)
+ cpu_core_count = (known after apply)
+ cpu_threads_per_core = (known after apply)
+ disable_api_termination = false
+ ebs_optimized = false
+ 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 = "t3a.large"
+ ipv6_address_count = (known after apply)
+ ipv6_addresses = (known after apply)
+ key_name = (known after apply)
+ monitoring = false
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (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 = "subnet-0239c0713c64a677f"
+ tags = {
+ "Demo" = "May 20"
+ "Name" = "acme-frontend"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
}
+ tags_all = {
+ "Demo" = "May 20"
+ "Name" = "acme-frontend"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
}
+ tenancy = "default"
+ volume_tags = {
+ "Name" = "acme-frontend"
}
+ vpc_security_group_ids = (known after apply)
+ credit_specification {
+ cpu_credits = "standard"
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ instances = [
+ (known after apply),
]
+ private_ip = [
+ (known after apply),
]
+ public_ip = [
+ (known after apply),
]
Cost Estimation DetailsKey: * usage cost, ~ changed, + added, - removed
──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json
+ module.acme-ec2.aws_instance.this[0]
+$56
+ Instance usage (Linux/UNIX, on-demand, t3a.large)
+$55
+ root_block_device
+ Storage (general purpose SSD, gp2)
+$0.80
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount: +$56 ($0.00 → $56)
──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed
*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.
1 cloud resource was detected:
∙ 1 was estimated
Infracost estimate: Monthly estimate increased by $56 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json ┃ +$56 ┃ - ┃ +$56 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛ |
🚀 env0 had composed a PR Plan for environment NonProd - 244172364962 / ec2 instance demo1201-21800 :
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] will be created
+ resource "aws_instance" "this" {
+ ami = "ami-0a15226b1f7f23580"
+ arn = (known after apply)
+ associate_public_ip_address = true
+ availability_zone = (known after apply)
+ cpu_core_count = (known after apply)
+ cpu_threads_per_core = (known after apply)
+ disable_api_termination = false
+ ebs_optimized = false
+ 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 = "t3a.medium"
+ ipv6_address_count = (known after apply)
+ ipv6_addresses = (known after apply)
+ key_name = (known after apply)
+ monitoring = false
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (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 = "subnet-0239c0713c64a677f"
+ tags = {
+ "Demo" = "May 20"
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/65a8b088-472c-4168-8e19-860824df8ab4"
+ "Name" = "env0-acme-ec2"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
+ "env0_environment_id" = "65a8b088-472c-4168-8e19-860824df8ab4"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ tags_all = {
+ "Demo" = "May 20"
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/65a8b088-472c-4168-8e19-860824df8ab4"
+ "Name" = "env0-acme-ec2"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
+ "env0_environment_id" = "65a8b088-472c-4168-8e19-860824df8ab4"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ tenancy = "default"
+ volume_tags = {
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/65a8b088-472c-4168-8e19-860824df8ab4"
+ "Name" = "env0-acme-ec2"
+ "env0_environment_id" = "65a8b088-472c-4168-8e19-860824df8ab4"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ vpc_security_group_ids = (known after apply)
+ credit_specification {
+ cpu_credits = "standard"
}
+ ebs_block_device (known after apply)
+ enclave_options (known after apply)
+ ephemeral_block_device (known after apply)
+ metadata_options (known after apply)
+ network_interface (known after apply)
+ root_block_device (known after apply)
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ instances = [
+ (known after apply),
]
+ private_ip = [
+ (known after apply),
]
+ public_ip = [
+ (known after apply),
]
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "password" but a value
│ was found in file "env0.auto.tfvars.json". If you meant to use this value,
│ add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "db_username" but a value
│ was found in file "env0.auto.tfvars.json". If you meant to use this value,
│ add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
Cost Estimation DetailsKey: * usage cost, ~ changed, + added, - removed
──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json
+ module.acme-ec2.aws_instance.this[0]
+$28
+ Instance usage (Linux/UNIX, on-demand, t3a.medium)
+$27
+ root_block_device
+ Storage (general purpose SSD, gp2)
+$0.80
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount: +$28 ($0.00 → $28)
──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed
*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.
1 cloud resource was detected:
∙ 1 was estimated
Infracost estimate: Monthly estimate increased by $28 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json ┃ +$28 ┃ - ┃ +$28 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛ |
🚀 env0 had composed a PR Plan for environment Drift / FrontEnd Servers EC2-52384 :
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] must be replaced
-/+ resource "aws_instance" "this" {
! ami = "ami-04f5a6a7ecc99fbe2" -> "ami-0a15226b1f7f23580" # forces replacement
! arn = "arn:aws:ec2:us-west-2:779182809717:instance/i-0133195ac504330b1" -> (known after apply)
! availability_zone = "us-west-2a" -> (known after apply)
! cpu_core_count = 1 -> (known after apply)
! cpu_threads_per_core = 2 -> (known after apply)
- hibernation = false -> null
+ host_id = (known after apply)
! id = "i-0133195ac504330b1" -> (known after apply)
! instance_initiated_shutdown_behavior = "stop" -> (known after apply)
! instance_state = "running" -> (known after apply)
! instance_type = "t3a.small" -> "t3a.micro"
! ipv6_address_count = 0 -> (known after apply)
! ipv6_addresses = [] -> (known after apply)
+ key_name = (known after apply)
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (known after apply)
! primary_network_interface_id = "eni-04c6d7086a31ad8f9" -> (known after apply)
! private_dns = "ip-10-25-134-109.us-west-2.compute.internal" -> (known after apply)
! private_ip = "10.25.134.109" -> (known after apply)
! public_dns = "ec2-34-222-155-167.us-west-2.compute.amazonaws.com" -> (known after apply)
! public_ip = "34.222.155.167" -> (known after apply)
! secondary_private_ips = [] -> (known after apply)
! security_groups = [] -> (known after apply)
! tags = {
! "Demo" = "March 18" -> "May 20"
"Name" = "acme-frontend"
"Owner" = "acme demo org"
"Terraform" = "true"
- "Test" = "new tag" -> null
"env0_environment_id" = "52fdda43-e6ac-437d-99a4-cdddf98bf3f0"
"env0_project_id" = "ef472c82-bb0d-49d8-8bd8-27ec702ab776"
}
! tags_all = {
! "Demo" = "March 18" -> "May 20"
- "Test" = "new tag" -> null
# (5 unchanged elements hidden)
}
! vpc_security_group_ids = [
- "sg-0e5c4b7d6b7208b08",
] -> (known after apply)
# (9 unchanged attributes hidden)
! ebs_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! enclave_options {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! ephemeral_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! metadata_options {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! network_interface {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! root_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
# (1 unchanged block hidden)
}
Plan: 1 to add, 0 to change, 1 to destroy.
Changes to Outputs:
! instances = [
- "i-0133195ac504330b1",
+ (known after apply),
]
! private_ip = [
- "10.25.134.109",
+ (known after apply),
]
! public_ip = [
- "34.222.155.167",
+ (known after apply),
]
Cost Estimation DetailsKey: * usage cost, ~ changed, + added, - removed
──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json
! module.acme-ec2.aws_instance.this[0]
-$7 ($15 → $8)
! Instance usage (Linux/UNIX, on-demand, t3a.small → t3a.micro)
-$7 ($14 → $7)
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount: -$7 ($15 → $8)
Percent: -47%
──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed
*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.
1 cloud resource was detected:
∙ 1 was estimated
Infracost estimate: Monthly estimate decreased by $7 ↓
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json ┃ -$7 ┃ - ┃ -$7 (-47%) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛ |
🚀 env0 had composed a PR Plan for environment deva / FrontEnd Servers (EC2)-37746 :
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] must be replaced
-/+ resource "aws_instance" "this" {
! ami = "ami-070686bd03233cfa1" -> "ami-0a15226b1f7f23580" # forces replacement
! arn = "arn:aws:ec2:us-west-2:244172364962:instance/i-0b46d59e8354a7f04" -> (known after apply)
! availability_zone = "us-west-2b" -> (known after apply)
! cpu_core_count = 1 -> (known after apply)
! cpu_threads_per_core = 2 -> (known after apply)
- hibernation = false -> null
+ host_id = (known after apply)
! id = "i-0b46d59e8354a7f04" -> (known after apply)
! instance_initiated_shutdown_behavior = "stop" -> (known after apply)
! instance_state = "running" -> (known after apply)
! instance_type = "t3a.medium" -> "t3a.micro"
! ipv6_address_count = 0 -> (known after apply)
! ipv6_addresses = [] -> (known after apply)
+ key_name = (known after apply)
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (known after apply)
! primary_network_interface_id = "eni-0bd89af263c63c9fc" -> (known after apply)
! private_dns = "ip-10-0-3-33.us-west-2.compute.internal" -> (known after apply)
! private_ip = "10.0.3.33" -> (known after apply)
+ public_dns = (known after apply)
! public_ip = "54.191.205.29" -> (known after apply)
! secondary_private_ips = [] -> (known after apply)
! security_groups = [] -> (known after apply)
! tags = {
! "Demo" = "Oct 22" -> "May 20"
"Name" = "acme-frontend"
"Owner" = "acme demo org"
"Terraform" = "true"
- "Test" = "new tag" -> null
}
! tags_all = {
! "Demo" = "Oct 22" -> "May 20"
- "Test" = "new tag" -> null
# (3 unchanged elements hidden)
}
! vpc_security_group_ids = [
- "sg-08fdaac30443c7649",
] -> (known after apply)
# (9 unchanged attributes hidden)
! ebs_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! enclave_options {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! ephemeral_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! metadata_options {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! network_interface {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! root_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
# (1 unchanged block hidden)
}
Plan: 1 to add, 0 to change, 1 to destroy.
Changes to Outputs:
! instances = [
- "i-0b46d59e8354a7f04",
+ (known after apply),
]
! private_ip = [
- "10.0.3.33",
+ (known after apply),
]
! public_ip = [
- "54.191.205.29",
+ (known after apply),
]
Cost Estimation DetailsKey: * usage cost, ~ changed, + added, - removed
──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json
! module.acme-ec2.aws_instance.this[0]
-$20 ($28 → $8)
! Instance usage (Linux/UNIX, on-demand, t3a.medium → t3a.micro)
-$21 ($27 → $7)
! root_block_device
! Storage (magnetic) → (general purpose SSD, gp2)
+$0.40 ($0.40 → $0.80)
- I/O requests
Monthly cost depends on usage
-$0.05 per 1M request
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount: -$20 ($28 → $8)
Percent: -72%
──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed
*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.
1 cloud resource was detected:
∙ 1 was estimated
Infracost estimate: Monthly estimate decreased by $20 ↓
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json ┃ -$20 ┃ - ┃ -$20 (-72%) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛ |
🚀 env0 had composed a PR Plan for environment Shenanigans / acme-demo simple-ec2-instance :
Plan DetailsTerraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
# module.acme-ec2.aws_instance.this[0] must be replaced
-/+ resource "aws_instance" "this" {
! ami = "ami-0cd202468248306f2" -> "ami-0a15226b1f7f23580" # forces replacement
! arn = "arn:aws:ec2:us-west-2:244172364962:instance/i-00a3d8a53ca05e968" -> (known after apply)
! availability_zone = "us-west-2b" -> (known after apply)
! cpu_core_count = 1 -> (known after apply)
! cpu_threads_per_core = 2 -> (known after apply)
- hibernation = false -> null
+ host_id = (known after apply)
! id = "i-00a3d8a53ca05e968" -> (known after apply)
! instance_initiated_shutdown_behavior = "stop" -> (known after apply)
! instance_state = "running" -> (known after apply)
! ipv6_address_count = 0 -> (known after apply)
! ipv6_addresses = [] -> (known after apply)
+ key_name = (known after apply)
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (known after apply)
! primary_network_interface_id = "eni-0af5cbb5de8bc39d5" -> (known after apply)
! private_dns = "ip-10-0-3-165.us-west-2.compute.internal" -> (known after apply)
! private_ip = "10.0.3.165" -> (known after apply)
+ public_dns = (known after apply)
! public_ip = "54.185.159.91" -> (known after apply)
! secondary_private_ips = [] -> (known after apply)
! security_groups = [] -> (known after apply)
! tags = {
! "Demo" = "Dec 31" -> "May 20"
"Name" = "env0-acme-ec2"
"Owner" = "acme demo org"
"Terraform" = "true"
- "Test" = "new tag" -> null
}
! tags_all = {
! "Demo" = "Dec 31" -> "May 20"
- "Test" = "new tag" -> null
# (3 unchanged elements hidden)
}
! vpc_security_group_ids = [
- "sg-08fdaac30443c7649",
] -> (known after apply)
# (10 unchanged attributes hidden)
- enclave_options {
- enabled = false -> null
}
- metadata_options {
- http_endpoint = "enabled" -> null
- http_put_response_hop_limit = 1 -> null
- http_tokens = "optional" -> null
}
- root_block_device {
- delete_on_termination = true -> null
- device_name = "/dev/sda1" -> null
- encrypted = false -> null
- iops = 100 -> null
- tags = {} -> null
- throughput = 0 -> null
- volume_id = "vol-017793bccfdafd96d" -> null
- volume_size = 8 -> null
- volume_type = "gp2" -> null
}
# (1 unchanged block hidden)
}
Plan: 1 to add, 0 to change, 1 to destroy.
Changes to Outputs:
! instances = [
- "i-00a3d8a53ca05e968",
+ (known after apply),
]
! private_ip = [
- "10.0.3.165",
+ (known after apply),
]
! public_ip = [
- "54.185.159.91",
+ (known after apply),
]
|
🚀 env0 had composed a PR Plan for environment NonProd - 244172364962 / FrontEnd Servers EC2-88703 :
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] will be created
+ resource "aws_instance" "this" {
+ ami = "ami-0a15226b1f7f23580"
+ arn = (known after apply)
+ associate_public_ip_address = true
+ availability_zone = (known after apply)
+ cpu_core_count = (known after apply)
+ cpu_threads_per_core = (known after apply)
+ disable_api_termination = false
+ ebs_optimized = false
+ 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 = "t3a.large"
+ ipv6_address_count = (known after apply)
+ ipv6_addresses = (known after apply)
+ key_name = (known after apply)
+ monitoring = false
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (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 = "subnet-0239c0713c64a677f"
+ tags = {
+ "Demo" = "May 20"
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/fb47fabe-8b10-40fb-8d7e-ebe3b44cfa40"
+ "Name" = "acme-frontend"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
+ "env0_environment_id" = "fb47fabe-8b10-40fb-8d7e-ebe3b44cfa40"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ tags_all = {
+ "Demo" = "May 20"
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/fb47fabe-8b10-40fb-8d7e-ebe3b44cfa40"
+ "Name" = "acme-frontend"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
+ "env0_environment_id" = "fb47fabe-8b10-40fb-8d7e-ebe3b44cfa40"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ tenancy = "default"
+ volume_tags = {
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/fb47fabe-8b10-40fb-8d7e-ebe3b44cfa40"
+ "Name" = "acme-frontend"
+ "env0_environment_id" = "fb47fabe-8b10-40fb-8d7e-ebe3b44cfa40"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ vpc_security_group_ids = (known after apply)
+ credit_specification {
+ cpu_credits = "standard"
}
+ ebs_block_device (known after apply)
+ enclave_options (known after apply)
+ ephemeral_block_device (known after apply)
+ metadata_options (known after apply)
+ network_interface (known after apply)
+ root_block_device (known after apply)
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ instances = [
+ (known after apply),
]
+ private_ip = [
+ (known after apply),
]
+ public_ip = [
+ (known after apply),
]
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "password" but a value
│ was found in file "env0.auto.tfvars.json". If you meant to use this value,
│ add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "db_username" but a value
│ was found in file "env0.auto.tfvars.json". If you meant to use this value,
│ add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
Cost Estimation DetailsKey: * usage cost, ~ changed, + added, - removed
──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json
+ module.acme-ec2.aws_instance.this[0]
+$56
+ Instance usage (Linux/UNIX, on-demand, t3a.large)
+$55
+ root_block_device
+ Storage (general purpose SSD, gp2)
+$0.80
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount: +$56 ($0.00 → $56)
──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed
*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.
1 cloud resource was detected:
∙ 1 was estimated
Infracost estimate: Monthly estimate increased by $56 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json ┃ +$56 ┃ - ┃ +$56 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛ |
🚀 env0 had composed a PR Plan for environment Shenanigans / DUPLICATED-FrontEnd Servers EC2-29408 :
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] will be created
+ resource "aws_instance" "this" {
+ ami = "ami-0a15226b1f7f23580"
+ arn = (known after apply)
+ associate_public_ip_address = true
+ availability_zone = (known after apply)
+ cpu_core_count = (known after apply)
+ cpu_threads_per_core = (known after apply)
+ disable_api_termination = false
+ ebs_optimized = false
+ 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 = "t3a.small"
+ ipv6_address_count = (known after apply)
+ ipv6_addresses = (known after apply)
+ key_name = (known after apply)
+ monitoring = false
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (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 = "subnet-0239c0713c64a677f"
+ tags = {
+ "Demo" = "May 20"
+ "Name" = "acme-frontend"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
}
+ tags_all = {
+ "Demo" = "May 20"
+ "Name" = "acme-frontend"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
}
+ tenancy = "default"
+ volume_tags = {
+ "Name" = "acme-frontend"
}
+ vpc_security_group_ids = (known after apply)
+ credit_specification {
+ cpu_credits = "standard"
}
+ ebs_block_device (known after apply)
+ enclave_options (known after apply)
+ ephemeral_block_device (known after apply)
+ metadata_options (known after apply)
+ network_interface (known after apply)
+ root_block_device (known after apply)
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ instances = [
+ (known after apply),
]
+ private_ip = [
+ (known after apply),
]
+ public_ip = [
+ (known after apply),
]
|
🚀 env0 had composed a PR Plan for environment NonProd - 244172364962 / ec2 instance demo1201-92472 :
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] will be created
+ resource "aws_instance" "this" {
+ ami = "ami-0a15226b1f7f23580"
+ arn = (known after apply)
+ associate_public_ip_address = true
+ availability_zone = (known after apply)
+ cpu_core_count = (known after apply)
+ cpu_threads_per_core = (known after apply)
+ disable_api_termination = false
+ ebs_optimized = false
+ 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 = "t3a.medium"
+ ipv6_address_count = (known after apply)
+ ipv6_addresses = (known after apply)
+ key_name = (known after apply)
+ monitoring = false
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (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 = "subnet-0239c0713c64a677f"
+ tags = {
+ "Demo" = "May 20"
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/90b01b56-72eb-4711-a032-67e63e351efc"
+ "Name" = "env0-acme-ec2"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
+ "env0_environment_id" = "90b01b56-72eb-4711-a032-67e63e351efc"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ tags_all = {
+ "Demo" = "May 20"
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/90b01b56-72eb-4711-a032-67e63e351efc"
+ "Name" = "env0-acme-ec2"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
+ "env0_environment_id" = "90b01b56-72eb-4711-a032-67e63e351efc"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ tenancy = "default"
+ volume_tags = {
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/90b01b56-72eb-4711-a032-67e63e351efc"
+ "Name" = "env0-acme-ec2"
+ "env0_environment_id" = "90b01b56-72eb-4711-a032-67e63e351efc"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ vpc_security_group_ids = (known after apply)
+ credit_specification {
+ cpu_credits = "standard"
}
+ ebs_block_device (known after apply)
+ enclave_options (known after apply)
+ ephemeral_block_device (known after apply)
+ metadata_options (known after apply)
+ network_interface (known after apply)
+ root_block_device (known after apply)
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ instances = [
+ (known after apply),
]
+ private_ip = [
+ (known after apply),
]
+ public_ip = [
+ (known after apply),
]
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "db_username" but a value
│ was found in file "env0.auto.tfvars.json". If you meant to use this value,
│ add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "password" but a value
│ was found in file "env0.auto.tfvars.json". If you meant to use this value,
│ add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
Cost Estimation DetailsKey: * usage cost, ~ changed, + added, - removed
──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json
+ module.acme-ec2.aws_instance.this[0]
+$28
+ Instance usage (Linux/UNIX, on-demand, t3a.medium)
+$27
+ root_block_device
+ Storage (general purpose SSD, gp2)
+$0.80
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount: +$28 ($0.00 → $28)
──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed
*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.
1 cloud resource was detected:
∙ 1 was estimated
Infracost estimate: Monthly estimate increased by $28 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json ┃ +$28 ┃ - ┃ +$28 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛ |
🚀 env0 had composed a PR Plan for environment NonProd - 244172364962 / ec2 instance demo1201-76432 :
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] will be created
+ resource "aws_instance" "this" {
+ ami = "ami-0a15226b1f7f23580"
+ arn = (known after apply)
+ associate_public_ip_address = true
+ availability_zone = (known after apply)
+ cpu_core_count = (known after apply)
+ cpu_threads_per_core = (known after apply)
+ disable_api_termination = false
+ ebs_optimized = false
+ 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 = "t3a.medium"
+ ipv6_address_count = (known after apply)
+ ipv6_addresses = (known after apply)
+ key_name = (known after apply)
+ monitoring = false
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (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 = "subnet-0239c0713c64a677f"
+ tags = {
+ "Demo" = "May 20"
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/77192074-be93-4a76-b108-a74eb8939b83"
+ "Name" = "env0-acme-ec2"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
+ "env0_environment_id" = "77192074-be93-4a76-b108-a74eb8939b83"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ tags_all = {
+ "Demo" = "May 20"
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/77192074-be93-4a76-b108-a74eb8939b83"
+ "Name" = "env0-acme-ec2"
+ "Owner" = "acme demo org"
+ "Terraform" = "true"
+ "env0_environment_id" = "77192074-be93-4a76-b108-a74eb8939b83"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ tenancy = "default"
+ volume_tags = {
+ "ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/77192074-be93-4a76-b108-a74eb8939b83"
+ "Name" = "env0-acme-ec2"
+ "env0_environment_id" = "77192074-be93-4a76-b108-a74eb8939b83"
+ "env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
+ vpc_security_group_ids = (known after apply)
+ credit_specification {
+ cpu_credits = "standard"
}
+ ebs_block_device (known after apply)
+ enclave_options (known after apply)
+ ephemeral_block_device (known after apply)
+ metadata_options (known after apply)
+ network_interface (known after apply)
+ root_block_device (known after apply)
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ instances = [
+ (known after apply),
]
+ private_ip = [
+ (known after apply),
]
+ public_ip = [
+ (known after apply),
]
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "db_username" but a value
│ was found in file "env0.auto.tfvars.json". If you meant to use this value,
│ add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "password" but a value
│ was found in file "env0.auto.tfvars.json". If you meant to use this value,
│ add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
Cost Estimation DetailsKey: * usage cost, ~ changed, + added, - removed
──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json
+ module.acme-ec2.aws_instance.this[0]
+$28
+ Instance usage (Linux/UNIX, on-demand, t3a.medium)
+$27
+ root_block_device
+ Storage (general purpose SSD, gp2)
+$0.80
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount: +$28 ($0.00 → $28)
──────────────────────────────────
Key: * usage cost, ~ changed, + added, - removed
*Usage costs can be estimated by updating Infracost Cloud settings, see docs for other options.
1 cloud resource was detected:
∙ 1 was estimated
Infracost estimate: Monthly estimate increased by $28 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json ┃ +$28 ┃ - ┃ +$28 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛ |
🚀 env0 had composed a PR Plan for environment Child / FrontEnd Servers EC2-18168 :
Failure Details╷
│ Error: multiple VPCs matched; use additional constraints to reduce matches to a single VPC
│
│ with data.aws_vpc.selected,
│ on ec2.tf line 32, in data "aws_vpc" "selected":
│ 32: data "aws_vpc" "selected" {
│
╵
|
🚀 env0 had composed a PR Plan for environment NonProd - 244172364962 / FrontEnd Servers EC2-64219 (karl):
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
! update in-place
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] will be updated in-place
! resource "aws_instance" "this" {
id = "i-06c5a419ef50d3f1d"
! tags = {
"Demo" = "May 20"
"ENV0_URL" = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/482f8b32-237c-416f-8e8d-32dbede83152"
"Name" = "acme-frontend"
"Owner" = "acme demo org"
"Terraform" = "true"
- "Test" = "new taga" -> null
"env0_environment_id" = "482f8b32-237c-416f-8e8d-32dbede83152"
"env0_project_id" = "7320dd7a-4822-426c-84b5-62ddd8be0799"
}
! tags_all = {
- "Test" = "new taga" -> null
# (7 unchanged elements hidden)
}
# (27 unchanged attributes hidden)
# (4 unchanged blocks hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "db_username" but a value
│ was found in file "env0.auto.tfvars.json". If you meant to use this value,
│ add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
╷
│ Warning: Value for undeclared variable
│
│ The root module does not declare a variable named "password" but a value
│ was found in file "env0.auto.tfvars.json". If you meant to use this value,
│ add a "variable" block to the configuration.
│
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
To apply this plan, use the following comment:
|
🚀 env0 had composed a PR Plan for environment dev / acme-demo simple-ec2-instance :
Plan DetailsOpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
OpenTofu will perform the following actions:
# module.acme-ec2.aws_instance.this[0] must be replaced
-/+ resource "aws_instance" "this" {
! ami = "ami-07182692443fccde1" -> "ami-0a15226b1f7f23580" # forces replacement
! arn = "arn:aws:ec2:us-west-2:244172364962:instance/i-06f32226ffd418da7" -> (known after apply)
! availability_zone = "us-west-2b" -> (known after apply)
! cpu_core_count = 1 -> (known after apply)
! cpu_threads_per_core = 2 -> (known after apply)
- hibernation = false -> null
+ host_id = (known after apply)
! id = "i-06f32226ffd418da7" -> (known after apply)
! instance_initiated_shutdown_behavior = "stop" -> (known after apply)
! instance_state = "running" -> (known after apply)
! ipv6_address_count = 0 -> (known after apply)
! ipv6_addresses = [] -> (known after apply)
+ key_name = (known after apply)
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (known after apply)
! primary_network_interface_id = "eni-0452c18647b2fb372" -> (known after apply)
! private_dns = "ip-10-0-3-60.us-west-2.compute.internal" -> (known after apply)
! private_ip = "10.0.3.60" -> (known after apply)
+ public_dns = (known after apply)
! public_ip = "35.93.189.223" -> (known after apply)
! secondary_private_ips = [] -> (known after apply)
! security_groups = [] -> (known after apply)
! tags = {
"Demo" = "May 20"
"Name" = "env0-acme-ec2"
"Owner" = "acme demo org"
"Terraform" = "true"
- "Test" = "new taga" -> null
"env0_environment_id" = "c80bc11d-1eb2-45fa-a591-69ffd3c5d439"
"env0_project_id" = "cd11f372-4ed1-4214-8029-96f2eb0babc0"
}
! tags_all = {
- "Test" = "new taga" -> null
# (6 unchanged elements hidden)
}
! vpc_security_group_ids = [
- "sg-08fdaac30443c7649",
] -> (known after apply)
# (10 unchanged attributes hidden)
! ebs_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! enclave_options {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! ephemeral_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! metadata_options {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! network_interface {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
! root_block_device {
+ ami = (known after apply)
+ 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 = (known after apply)
+ hibernation = (known after apply)
+ host_id = (known after apply)
+ iam_instance_profile = (known after apply)
+ id = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_state = (known after apply)
+ instance_type = (known after apply)
+ 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)
+ 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 = (known after apply)
+ subnet_id = (known after apply)
+ tags = (known after apply)
+ tags_all = (known after apply)
+ tenancy = (known after apply)
+ user_data = (known after apply)
+ user_data_base64 = (known after apply)
+ volume_tags = (known after apply)
+ vpc_security_group_ids = (known after apply)
} -> (known after apply)
# (1 unchanged block hidden)
}
Plan: 1 to add, 0 to change, 1 to destroy.
Changes to Outputs:
! instances = [
- "i-06f32226ffd418da7",
+ (known after apply),
]
! private_ip = [
- "10.0.3.60",
+ (known after apply),
]
! public_ip = [
- "35.93.189.223",
+ (known after apply),
]
|
🚀 env0 had composed a PR Plan for environment prod-us-west-2 / Prod-Frontend-Service-EC2-95490 :
Failure DetailsUser: arn:aws:iam::170412844252:user//dev/deployment-service/us-east-1/assumer//deployment-service-dev-AssumerUser-L0RZWV9CSVY4 is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::326535729404:role/yariv-create-policy-demo-org |
env0 apply -e karl |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
3 similar comments
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
3 similar comments
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
4 similar comments
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
1 similar comment
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
4 similar comments
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
1 similar comment
Apply requirements aren't met for this pull request. See the "Apply Requirements" section here |
No description provided.