Skip to content

Feat/test ci#4

Merged
kCn3333 merged 2 commits into
mainfrom
feat/test-ci
May 15, 2026
Merged

Feat/test ci#4
kCn3333 merged 2 commits into
mainfrom
feat/test-ci

Conversation

@kCn3333
Copy link
Copy Markdown
Owner

@kCn3333 kCn3333 commented May 15, 2026

No description provided.

@kCn3333 kCn3333 merged commit d904b72 into main May 15, 2026
3 checks passed
@github-actions
Copy link
Copy Markdown

✅ Terraform Plan success

Show Plan Output
module.ec2.data.aws_ami.ubuntu: Reading...
module.ec2.data.aws_iam_policy_document.ec2_assume_role: Reading...
module.ec2.aws_key_pair.this: Refreshing state... [id=aws-devops-dev-key]
module.vpc.aws_vpc.this: Refreshing state... [id=vpc-0898ffef7378885a9]
module.ec2.data.aws_iam_policy_document.ec2_assume_role: Read complete after 0s [id=2851119427]
module.ec2.aws_iam_role.this: Refreshing state... [id=aws-devops-dev-ec2-role]
module.ec2.aws_iam_role_policy_attachment.ssm: Refreshing state... [id=aws-devops-dev-ec2-role-20260515074902594800000001]
module.ec2.aws_iam_instance_profile.this: Refreshing state... [id=aws-devops-dev-ec2-profile]
module.ec2.data.aws_ami.ubuntu: Read complete after 1s [id=ami-0122da1d0b4a30ec4]
module.vpc.aws_internet_gateway.this: Refreshing state... [id=igw-01dacb63546a8ab84]
module.vpc.aws_subnet.private[0]: Refreshing state... [id=subnet-044371234e05e9926]
module.vpc.aws_subnet.private[1]: Refreshing state... [id=subnet-054c245c13b7e8d4f]
module.vpc.aws_subnet.public[0]: Refreshing state... [id=subnet-0061bca0d4a30347b]
module.vpc.aws_subnet.public[1]: Refreshing state... [id=subnet-07d110f0d6544764e]
module.ec2.aws_security_group.this: Refreshing state... [id=sg-0939cfe8e88cf0c4c]
module.vpc.aws_route_table.public: Refreshing state... [id=rtb-0b428f4c761d04646]
module.ec2.aws_vpc_security_group_ingress_rule.https: Refreshing state... [id=sgr-020e938bc14b23aa4]
module.ec2.aws_vpc_security_group_egress_rule.all: Refreshing state... [id=sgr-00dc651902b53f573]
module.ec2.aws_vpc_security_group_ingress_rule.ssh: Refreshing state... [id=sgr-0abc1f6552f53685b]
module.ec2.aws_vpc_security_group_ingress_rule.http: Refreshing state... [id=sgr-0999daef1b8d0c033]
module.vpc.aws_route_table_association.public[1]: Refreshing state... [id=rtbassoc-0e37e197c581b74db]
module.vpc.aws_route_table_association.public[0]: Refreshing state... [id=rtbassoc-04a505b308f90871a]
module.vpc.aws_route_table.private: Refreshing state... [id=rtb-0463d016bcb3fc0df]
module.ec2.aws_instance.this: Refreshing state... [id=i-0b252dbddc41454a2]
module.vpc.aws_route_table_association.private[1]: Refreshing state... [id=rtbassoc-0a006a0cfbc4e52e9]
module.vpc.aws_route_table_association.private[0]: Refreshing state... [id=rtbassoc-0c042a6a25f3fd872]

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.ec2.aws_instance.this must be replaced
-/+ resource "aws_instance" "this" {
      ~ ami                                  = "ami-0eb2165c7bb585872" -> "ami-0122da1d0b4a30ec4" # forces replacement
      ~ arn                                  = "arn:aws:ec2:eu-north-1:656370357979:instance/i-0b252dbddc41454a2" -> (known after apply)
      ~ associate_public_ip_address          = true -> (known after apply)
      ~ availability_zone                    = "eu-north-1a" -> (known after apply)
      ~ cpu_core_count                       = 1 -> (known after apply)
      ~ cpu_threads_per_core                 = 2 -> (known after apply)
      ~ disable_api_stop                     = false -> (known after apply)
      ~ disable_api_termination              = false -> (known after apply)
      ~ ebs_optimized                        = false -> (known after apply)
      + enable_primary_ipv6                  = (known after apply)
      - hibernation                          = false -> null
      + host_id                              = (known after apply)
      + host_resource_group_arn              = (known after apply)
      ~ id                                   = "i-0b252dbddc41454a2" -> (known after apply)
      ~ instance_initiated_shutdown_behavior = "stop" -> (known after apply)
      + instance_lifecycle                   = (known after apply)
      ~ instance_state                       = "running" -> (known after apply)
      ~ ipv6_address_count                   = 0 -> (known after apply)
      ~ ipv6_addresses                       = [] -> (known after apply)
      ~ monitoring                           = false -> (known after apply)
      + outpost_arn                          = (known after apply)
      + password_data                        = (known after apply)
      + placement_group                      = (known after apply)
      ~ placement_partition_number           = 0 -> (known after apply)
      ~ primary_network_interface_id         = "eni-026a1fc985f2ad892" -> (known after apply)
      ~ private_dns                          = "ip-10-0-1-147.eu-north-1.compute.internal" -> (known after apply)
      ~ private_ip                           = "10.0.1.147" -> (known after apply)
      ~ public_dns                           = "ec2-51-21-254-216.eu-north-1.compute.amazonaws.com" -> (known after apply)
      ~ public_ip                            = "51.21.254.216" -> (known after apply)
      ~ secondary_private_ips                = [] -> (known after apply)
      ~ security_groups                      = [] -> (known after apply)
      + spot_instance_request_id             = (known after apply)
        tags                                 = {
            "Name" = "aws-devops-dev-server"
        }
      ~ tenancy                              = "default" -> (known after apply)
      + user_data                            = (known after apply)
      + user_data_base64                     = (known after apply)
        # (9 unchanged attributes hidden)

      ~ capacity_reservation_specification (known after apply)
      - capacity_reservation_specification {
          - capacity_reservation_preference = "open" -> null
        }

      ~ cpu_options (known after apply)
      - cpu_options {
          - core_count       = 1 -> null
          - threads_per_core = 2 -> null
            # (1 unchanged attribute hidden)
        }

      - credit_specification {
          - cpu_credits = "unlimited" -> null
        }

      ~ ebs_block_device (known after apply)

      ~ enclave_options (known after apply)
      - enclave_options {
          - enabled = false -> null
        }

      ~ ephemeral_block_device (known after apply)

      ~ instance_market_options (known after apply)

      ~ maintenance_options (known after apply)
      - maintenance_options {
          - auto_recovery = "default" -> null
        }

      ~ metadata_options {
          ~ http_put_response_hop_limit = 2 -> (known after apply)
          ~ instance_metadata_tags      = "disabled" -> (known after apply)
            # (3 unchanged attributes hidden)
        }

      ~ network_interface (known after apply)

      ~ private_dns_name_options (known after apply)
      - private_dns_name_options {
          - enable_resource_name_dns_a_record    = false -> null
          - enable_resource_name_dns_aaaa_record = false -> null
          - hostname_type                        = "ip-name" -> null
        }

      ~ root_block_device {
          ~ device_name           = "/dev/sda1" -> (known after apply)
          ~ iops                  = 3000 -> (known after apply)
          ~ kms_key_id            = "arn:aws:kms:eu-north-1:656370357979:key/9add5575-f230-4435-9ea1-2132862c0fc0" -> (known after apply)
          - tags                  = {} -> null
          ~ tags_all              = {
              - "Environment" = "dev"
              - "ManagedBy"   = "terraform"
            } -> (known after apply)
          ~ throughput            = 125 -> (known after apply)
          ~ volume_id             = "vol-0c0db6404c24a470a" -> (known after apply)
            # (4 unchanged attributes hidden)
        }
    }

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

Changes to Outputs:
  ~ instance_id         = "i-0b252dbddc41454a2" -> (known after apply)
  ~ instance_public_dns = "ec2-51-21-254-216.eu-north-1.compute.amazonaws.com" -> (known after apply)
  ~ instance_public_ip  = "51.21.254.216" -> (known after apply)
  ~ ssh_command         = "ssh -i ~/.ssh/aws-devops-key ubuntu@51.21.254.216" -> (known after apply)

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "tfplan"
Releasing state lock. This may take a few moments...

Triggered by @kCn3333pull_request

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