Skip to content
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

Update ec2.tf #730

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update ec2.tf #730

wants to merge 1 commit into from

Conversation

env0-away-dev
Copy link
Collaborator

No description provided.

Copy link

env0 bot commented Feb 14, 2025

env0

The following env0 environments are affected by changes to this PR:

To apply changes to all the environments above, use:

env0 apply --all

To apply changes using custom filters (click here for more info), use:

env0 apply --path <project glob pattern>
env0 apply -e <environment alias>

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment dev / acme-demo simple-ec2-instance :

Plan: 0 to add, 1 to change, 0 to destroy.
Plan Details
OpenTofu 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-0ff379b8a57eb4a86"
!       tags                                 = {
!           "Demo"                = "Feb 11" -> "Feb 13"
            "Name"                = "env0-acme-ec2"
            "Owner"               = "acme demo org"
            "Terraform"           = "true"
            "Test"                = "new tag"
            "env0_environment_id" = "c80bc11d-1eb2-45fa-a591-69ffd3c5d439"
            "env0_project_id"     = "cd11f372-4ed1-4214-8029-96f2eb0babc0"
        }
!       tags_all                             = {
!           "Demo"                = "Feb 11" -> "Feb 13"
            # (6 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 "billing_org" 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.
╵
Failed to calculate cost estimation

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment deva / FrontEnd Servers (EC2)-37746 :

Plan: 1 to add, 0 to change, 1 to destroy.
Plan Details
OpenTofu 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-061ec8eaee2cdba48" # 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.small"
!       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" -> "Feb 13"
            "Name"      = "acme-frontend"
            "Owner"     = "acme demo org"
            "Terraform" = "true"
            "Test"      = "new tag"
        }
!       tags_all                             = {
!           "Demo"      = "Oct 22" -> "Feb 13"
            # (4 unchanged elements hidden)
        }
!       vpc_security_group_ids               = [
-           "sg-08fdaac30443c7649",
        ] -> (known after apply)
        # (9 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                  = 0 -> null
-           tags                  = {} -> null
-           throughput            = 0 -> null
-           volume_id             = "vol-051300b7b4477f948" -> null
-           volume_size           = 8 -> null
-           volume_type           = "standard" -> null
        }

        # (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),
    ]
╷
│ Warning: Value for undeclared variable
│ 
│ The root module does not declare a variable named "team_name" 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.
╵
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount:  -$13 ($28 → $15)
Percent: -48%
Cost Estimation Details
Key: * usage cost, ~ changed, + added, - removed

──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json

! module.acme-ec2.aws_instance.this[0]
  -$13 ($28 → $15)

!     Instance usage (Linux/UNIX, on-demand, t3a.medium → t3a.small)
      -$14 ($27 → $14)

!     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:  -$13 ($28 → $15)
Percent: -48%

──────────────────────────────────
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 $13 ↓
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project                                    ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json      ┃          -$13 ┃           - ┃  -$13 (-48%) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Dev - 244172364962 / FrontEnd Servers EC2-15976 :

 🚨 PR Plan Failed 🚨
Failure Details
╷
│ Error: Invalid backend configuration argument
│ 
│ The backend configuration argument "bucket" given on the command line is
│ not expected for the selected backend type.
╵

╷
│ Error: Invalid backend configuration argument
│ 
│ The backend configuration argument "dynamodb_table" given on the command
│ line is not expected for the selected backend type.
╵

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Prod - 326535729404 / FrontEnd Servers-Commercial :

Plan: 1 to add, 0 to change, 1 to destroy.
Plan Details
OpenTofu 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-0037cdcf69f8fc0cc" -> "ami-061ec8eaee2cdba48" # forces replacement
!       arn                                  = "arn:aws:ec2:us-west-2:326535729404:instance/i-0cf47fcf535085da5" -> (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-0cf47fcf535085da5" -> (known after apply)
!       instance_initiated_shutdown_behavior = "stop" -> (known after apply)
!       instance_state                       = "running" -> (known after apply)
!       instance_type                        = "t3a.medium" -> "t3a.small"
!       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-08c803700878ef197" -> (known after apply)
!       private_dns                          = "ip-10-0-2-169.us-west-2.compute.internal" -> (known after apply)
!       private_ip                           = "10.0.2.169" -> (known after apply)
+       public_dns                           = (known after apply)
!       public_ip                            = "52.39.136.229" -> (known after apply)
!       secondary_private_ips                = [] -> (known after apply)
!       security_groups                      = [] -> (known after apply)
!       tags                                 = {
!           "Demo"                = "Nov 1" -> "Feb 13"
            "Name"                = "acme-frontend"
            "Owner"               = "acme demo org"
            "Terraform"           = "true"
            "Test"                = "new tag"
            "env0_environment_id" = "7ee16a20-530b-47c6-a86e-55eaafe93abb"
            "env0_project_id"     = "edba559d-ae7f-467d-a2f8-1b5a54709ead"
        }
!       tags_all                             = {
!           "Demo"                = "Nov 1" -> "Feb 13"
            # (6 unchanged elements hidden)
        }
!       vpc_security_group_ids               = [
-           "sg-0b322ebd8665b193e",
        ] -> (known after apply)
        # (9 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-037ec5392c05245ac" -> 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-0cf47fcf535085da5",
+       (known after apply),
    ]
!   private_ip = [
-       "10.0.2.169",
+       (known after apply),
    ]
!   public_ip  = [
-       "52.39.136.229",
+       (known after apply),
    ]
╷
│ Warning: Value for undeclared variable
│ 
│ The root module does not declare a variable named "instance_count" 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.
╵
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount:  -$14 ($28 → $15)
Percent: -49%
Cost Estimation Details
Key: * usage cost, ~ changed, + added, - removed

──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json

! module.acme-ec2.aws_instance.this[0]
  -$14 ($28 → $15)

!     Instance usage (Linux/UNIX, on-demand, t3a.medium → t3a.small)
      -$14 ($27 → $14)

Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount:  -$14 ($28 → $15)
Percent: -49%

──────────────────────────────────
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 $14 ↓
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project                                    ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json      ┃          -$14 ┃           - ┃  -$14 (-49%) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Prod - 326535729404 / FrontEnd Servers EC2-27924 :

Plan: 1 to add, 0 to change, 0 to destroy.
Plan Details
OpenTofu 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-061ec8eaee2cdba48"
+       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-00d0e578ddbcd203b"
+       tags                                 = {
+           "Demo"                = "Feb 13"
+           "Name"                = "acme-frontend"
+           "Owner"               = "acme demo org"
+           "Terraform"           = "true"
+           "Test"                = "new tag"
+           "env0_environment_id" = "3d85a284-69e4-41b0-a74d-30ee56a8e90c"
+           "env0_project_id"     = "edba559d-ae7f-467d-a2f8-1b5a54709ead"
        }
+       tags_all                             = {
+           "Demo"                = "Feb 13"
+           "Name"                = "acme-frontend"
+           "Owner"               = "acme demo org"
+           "Terraform"           = "true"
+           "Test"                = "new tag"
+           "env0_environment_id" = "3d85a284-69e4-41b0-a74d-30ee56a8e90c"
+           "env0_project_id"     = "edba559d-ae7f-467d-a2f8-1b5a54709ead"
        }
+       tenancy                              = "default"
+       volume_tags                          = {
+           "Name"                = "acme-frontend"
+           "env0_environment_id" = "3d85a284-69e4-41b0-a74d-30ee56a8e90c"
+           "env0_project_id"     = "edba559d-ae7f-467d-a2f8-1b5a54709ead"
        }
+       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),
    ]
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount:  +$56 ($0.00 → $56)

Cost Estimation Details
Key: * 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 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Shenanigans / DUPLICATED-acme-demo simple-ec2-instance :

Plan: 1 to add, 0 to change, 0 to destroy.
Plan Details
+ create

Terraform will perform the following actions:

  # module.acme-ec2.aws_instance.this[0] will be created
+   resource "aws_instance" "this" {
+       ami                                  = "ami-061ec8eaee2cdba48"
+       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"      = "Feb 13"
+           "Name"      = "env0-acme-ec2"
+           "Owner"     = "acme demo org"
+           "Terraform" = "true"
+           "Test"      = "new tag"
        }
+       tags_all                             = {
+           "Demo"      = "Feb 13"
+           "Name"      = "env0-acme-ec2"
+           "Owner"     = "acme demo org"
+           "Terraform" = "true"
+           "Test"      = "new tag"
        }
+       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),
    ]
Failed to calculate cost estimation

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment NonProd - 244172364962 / FrontEnd Servers EC2-69317 :

Plan: 1 to add, 0 to change, 0 to destroy.
Plan Details
OpenTofu 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-061ec8eaee2cdba48"
+       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"                = "Feb 13"
+           "ENV0_URL"            = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/8728b8b9-a70d-49e9-bd97-4bb344c4a4be"
+           "Name"                = "acme-frontend"
+           "Owner"               = "acme demo org"
+           "Terraform"           = "true"
+           "Test"                = "new tag"
+           "env0_environment_id" = "8728b8b9-a70d-49e9-bd97-4bb344c4a4be"
+           "env0_project_id"     = "7320dd7a-4822-426c-84b5-62ddd8be0799"
        }
+       tags_all                             = {
+           "Demo"                = "Feb 13"
+           "ENV0_URL"            = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/8728b8b9-a70d-49e9-bd97-4bb344c4a4be"
+           "Name"                = "acme-frontend"
+           "Owner"               = "acme demo org"
+           "Terraform"           = "true"
+           "Test"                = "new tag"
+           "env0_environment_id" = "8728b8b9-a70d-49e9-bd97-4bb344c4a4be"
+           "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/8728b8b9-a70d-49e9-bd97-4bb344c4a4be"
+           "Name"                = "acme-frontend"
+           "env0_environment_id" = "8728b8b9-a70d-49e9-bd97-4bb344c4a4be"
+           "env0_project_id"     = "7320dd7a-4822-426c-84b5-62ddd8be0799"
        }
+       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),
    ]
╷
│ 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.
╵
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount:  +$28 ($0.00 → $28)

Cost Estimation Details
Key: * 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 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Stuff / kosta environment ec2 :

 🚨 PR Plan Failed 🚨
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" {
│ 
╵

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Shenanigans / DUPLICATED-FrontEnd Servers EC2-29408 :

Plan: 1 to add, 0 to change, 0 to destroy.
Plan Details
OpenTofu 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-061ec8eaee2cdba48"
+       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"      = "Feb 13"
+           "Name"      = "acme-frontend"
+           "Owner"     = "acme demo org"
+           "Terraform" = "true"
+           "Test"      = "new tag"
        }
+       tags_all                             = {
+           "Demo"      = "Feb 13"
+           "Name"      = "acme-frontend"
+           "Owner"     = "acme demo org"
+           "Terraform" = "true"
+           "Test"      = "new tag"
        }
+       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),
    ]
Failed to calculate cost estimation

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment NonProd - 244172364962 / FrontEnd Servers EC2-73997 :

Plan: 0 to add, 1 to change, 0 to destroy.
Plan Details
OpenTofu 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-0db1c2832217aade0"
!       tags                                 = {
!           "Demo"                = "Feb 11" -> "Feb 13"
            "ENV0_URL"            = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/c05f2421-8f3d-4442-8294-2f9eaff3fa21"
            "Name"                = "acme-frontend"
            "Owner"               = "acme demo org"
            "Terraform"           = "true"
            "Test"                = "new tag"
            "env0_environment_id" = "c05f2421-8f3d-4442-8294-2f9eaff3fa21"
            "env0_project_id"     = "7320dd7a-4822-426c-84b5-62ddd8be0799"
        }
!       tags_all                             = {
!           "Demo"                = "Feb 11" -> "Feb 13"
            # (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 "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.
╵
Failed to calculate cost estimation

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment NonProd - 244172364962 / Turbonomic-EC2 :

Plan: 1 to add, 0 to change, 1 to destroy.
Plan Details
OpenTofu 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-0cd202468248306f2" -> "ami-061ec8eaee2cdba48" # forces replacement
!       arn                                  = "arn:aws:ec2:us-west-2:244172364962:instance/i-0d412a3c54efede3a" -> (known after apply)
!       associate_public_ip_address          = false -> true # forces replacement
!       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-0d412a3c54efede3a" -> (known after apply)
!       instance_initiated_shutdown_behavior = "stop" -> (known after apply)
!       instance_state                       = "stopped" -> (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-03b85aa0308d2c2d0" -> (known after apply)
!       private_dns                          = "ip-10-0-3-232.us-west-2.compute.internal" -> (known after apply)
!       private_ip                           = "10.0.3.232" -> (known after apply)
+       public_dns                           = (known after apply)
+       public_ip                            = (known after apply)
!       secondary_private_ips                = [] -> (known after apply)
!       security_groups                      = [] -> (known after apply)
!       tags                                 = {
!           "Demo"                = "Dec 17" -> "Feb 13"
            "ENV0_URL"            = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/78a77c76-cab0-44ad-bd0d-60792ad423e0"
            "Name"                = "turbonomic-ec2"
            "Owner"               = "acme demo org"
            "Terraform"           = "true"
            "Test"                = "new tag"
            "env0_environment_id" = "78a77c76-cab0-44ad-bd0d-60792ad423e0"
            "env0_project_id"     = "7320dd7a-4822-426c-84b5-62ddd8be0799"
        }
!       tags_all                             = {
!           "Demo"                = "Dec 17" -> "Feb 13"
            # (7 unchanged elements hidden)
        }
!       vpc_security_group_ids               = [
-           "sg-08fdaac30443c7649",
        ] -> (known after apply)
        # (9 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                  = 3000 -> null
-           tags                  = {} -> null
-           throughput            = 125 -> null
-           volume_id             = "vol-0b861faeaa0e7edcb" -> null
-           volume_size           = 8 -> null
-           volume_type           = "gp3" -> null
        }

        # (1 unchanged block hidden)
    }

Plan: 1 to add, 0 to change, 1 to destroy.

Changes to Outputs:
!   instances  = [
-       "i-0d412a3c54efede3a",
+       (known after apply),
    ]
!   private_ip = [
-       "10.0.3.232",
+       (known after apply),
    ]
!   public_ip  = [
-       "35.90.131.209",
+       (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.
╵
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount:  +$0.16 ($56 → $56)
Percent: 0%
Cost Estimation Details
Key: * usage cost, ~ changed, + added, - removed

──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json

! module.acme-ec2.aws_instance.this[0]
  +$0.16 ($56 → $56)

!     root_block_device
    
!         Storage (general purpose SSD, gp3 → gp2)
          +$0.16 ($0.64 → $0.80)

Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount:  +$0.16 ($56 → $56)
Percent: 0%

──────────────────────────────────
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 $0.16 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project                                    ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json      ┃        +$0.16 ┃           - ┃  +$0.16 (0%) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Stuff / acme-demo simple-ec2-instance :

 🚨 PR Plan Failed 🚨
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.
╵

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Prod - 326535729404 / FrontEnd Servers EC2-54410 :

Plan: 1 to add, 0 to change, 0 to destroy.
Plan Details
OpenTofu 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-061ec8eaee2cdba48"
+       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-00d0e578ddbcd203b"
+       tags                                 = {
+           "Demo"                = "Feb 13"
+           "Name"                = "acme-frontend-asaf"
+           "Owner"               = "acme demo org"
+           "Terraform"           = "true"
+           "Test"                = "new tag"
+           "env0_environment_id" = "4b8af3b5-ded4-435b-adbc-0de202bc3f56"
+           "env0_project_id"     = "edba559d-ae7f-467d-a2f8-1b5a54709ead"
        }
+       tags_all                             = {
+           "Demo"                = "Feb 13"
+           "Name"                = "acme-frontend-asaf"
+           "Owner"               = "acme demo org"
+           "Terraform"           = "true"
+           "Test"                = "new tag"
+           "env0_environment_id" = "4b8af3b5-ded4-435b-adbc-0de202bc3f56"
+           "env0_project_id"     = "edba559d-ae7f-467d-a2f8-1b5a54709ead"
        }
+       tenancy                              = "default"
+       volume_tags                          = {
+           "Name"                = "acme-frontend-asaf"
+           "env0_environment_id" = "4b8af3b5-ded4-435b-adbc-0de202bc3f56"
+           "env0_project_id"     = "edba559d-ae7f-467d-a2f8-1b5a54709ead"
        }
+       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),
    ]
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount:  +$15 ($0.00 → $15)

Cost Estimation Details
Key: * usage cost, ~ changed, + added, - removed

──────────────────────────────────
Project: env0/acme-demo/.env0workdir/env0_tf_plan.json

+ module.acme-ec2.aws_instance.this[0]
  +$15

+     Instance usage (Linux/UNIX, on-demand, t3a.small)
      +$14

+     root_block_device
    
+         Storage (general purpose SSD, gp2)
          +$0.80

Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount:  +$15 ($0.00 → $15)

──────────────────────────────────
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 $15 ↑
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Changed project                                    ┃ Baseline cost ┃ Usage cost* ┃ Total change ┃
┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━━━╋━━━━━━━━━━━━━╋━━━━━━━━━━━━━━┫
┃ env0/acme-demo/.env0workdir/env0_tf_plan.json      ┃          +$15 ┃           - ┃         +$15 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment NonProd - 244172364962 / FrontEnd Servers EC2-13636 :

Plan: 1 to add, 0 to change, 0 to destroy.
Plan Details
OpenTofu 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-061ec8eaee2cdba48"
+       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"                = "Feb 13"
+           "ENV0_URL"            = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/2993fa62-8951-4166-b91b-657f3eb74eef"
+           "Name"                = "acme-frontend"
+           "Owner"               = "acme demo org"
+           "Terraform"           = "true"
+           "Test"                = "new tag"
+           "env0_environment_id" = "2993fa62-8951-4166-b91b-657f3eb74eef"
+           "env0_project_id"     = "7320dd7a-4822-426c-84b5-62ddd8be0799"
        }
+       tags_all                             = {
+           "Demo"                = "Feb 13"
+           "ENV0_URL"            = "https://app.env0.com/p/7320dd7a-4822-426c-84b5-62ddd8be0799/environments/2993fa62-8951-4166-b91b-657f3eb74eef"
+           "Name"                = "acme-frontend"
+           "Owner"               = "acme demo org"
+           "Terraform"           = "true"
+           "Test"                = "new tag"
+           "env0_environment_id" = "2993fa62-8951-4166-b91b-657f3eb74eef"
+           "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/2993fa62-8951-4166-b91b-657f3eb74eef"
+           "Name"                = "acme-frontend"
+           "env0_environment_id" = "2993fa62-8951-4166-b91b-657f3eb74eef"
+           "env0_project_id"     = "7320dd7a-4822-426c-84b5-62ddd8be0799"
        }
+       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),
    ]
╷
│ 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.
╵
Monthly cost change for env0/acme-demo/.env0workdir/env0_tf_plan.json
Amount:  +$28 ($0.00 → $28)

Cost Estimation Details
Key: * 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 ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━━━┻━━━━━━━━━━━━━┻━━━━━━━━━━━━━━┛

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Stuff / FrontEnd Servers EC2-65837 :

 🚨 PR Plan Failed 🚨
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" {
│ 
╵

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Stuff / FrontEnd Servers EC2-88735 :

 🚨 PR Plan Failed 🚨
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" {
│ 
╵

Full PR Plan logs on env0

Copy link

env0 bot commented Feb 14, 2025

env0
🚀  env0 had composed a PR Plan for environment Shenanigans / acme-demo simple-ec2-instance :

Plan: 1 to add, 0 to change, 1 to destroy.
Plan Details
Terraform 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-061ec8eaee2cdba48" # 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" -> "Feb 13"
            "Name"      = "env0-acme-ec2"
            "Owner"     = "acme demo org"
            "Terraform" = "true"
            "Test"      = "new tag"
        }
!       tags_all                             = {
!           "Demo"      = "Dec 31" -> "Feb 13"
            # (4 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),
    ]
Failed to calculate cost estimation

Full PR Plan logs on env0

@env0-away-dev
Copy link
Collaborator Author

env0 apply --all

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

9 similar comments
Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

14 similar comments
Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0 bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Copy link

env0-dev bot commented Feb 14, 2025

env0

Apply requirements aren't met for this pull request.

See the "Apply Requirements" section here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant