Skip to content

Showcase Module Addition#8

Closed
felipe-loka wants to merge 8 commits intomainfrom
showcase-module
Closed

Showcase Module Addition#8
felipe-loka wants to merge 8 commits intomainfrom
showcase-module

Conversation

@felipe-loka
Copy link
Owner

@felipe-loka felipe-loka commented Mar 10, 2025

Timeline of events

  1. Commit to add EC2 module ➡️ failed because of terraform-docs not updated.
  2. Commit to fix add terraform-docs documentation ➡️ failed because of security issues
    image
  3. Commit to fix security issues ➡️ failed because of issues with tflint (Missing version constraint for provider "aws" and terraform "required_version" attribute is required)
  4. Commit to fix tflint issues ➡️ failed because of terraform provider lock issue
  5. Commit to fix terraform provider lock issue ➡️ failed because of terrafor-docs not being updated with the new constraint of versions added on the previous commit
  6. Commit to add new terraform-docs ➡️ failed because t3.mini is not a valid instance type
  7. Commit to fix instance type ➡️ succeeded

@github-actions
Copy link

github-actions bot commented Mar 10, 2025

[ PROD - us-east-1] Terraform Plan

→ Resource Changes: 1 to create, 0 to update, 0 to re-create, 0 to delete.

✨ Create

module.ec2.aws_instance.myec2
+ ami                                  = "ami-05b10e08d247fb927"
+ 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_stop                     = (known after apply)
+ disable_api_termination              = (known after apply)
+ ebs_optimized                        = (known after apply)
+ enable_primary_ipv6                  = (known after apply)
+ get_password_data                    = false
+ host_id                              = (known after apply)
+ host_resource_group_arn              = (known after apply)
+ iam_instance_profile                 = (known after apply)
+ id                                   = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_lifecycle                   = (known after apply)
+ instance_state                       = (known after apply)
+ instance_type                        = "t3.nano"
+ ipv6_address_count                   = (known after apply)
+ ipv6_addresses                       = (known after apply)
+ key_name                             = (known after apply)
+ monitoring                           = (known after apply)
+ outpost_arn                          = (known after apply)
+ password_data                        = (known after apply)
+ placement_group                      = (known after apply)
+ placement_partition_number           = (known after apply)
+ primary_network_interface_id         = (known after apply)
+ private_dns                          = (known after apply)
+ private_ip                           = (known after apply)
+ public_dns                           = (known after apply)
+ public_ip                            = (known after apply)
+ secondary_private_ips                = (known after apply)
+ security_groups                      = (known after apply)
+ source_dest_check                    = true
+ spot_instance_request_id             = (known after apply)
+ subnet_id                            = (known after apply)
+ tags_all                             = {
+     "Project" = "Terraform CI/CD"
  }
+ tenancy                              = (known after apply)
+ user_data                            = (known after apply)
+ user_data_base64                     = (known after apply)
+ user_data_replace_on_change          = false
+ vpc_security_group_ids               = (known after apply)

+ capacity_reservation_specification (known after apply)

+ cpu_options (known after apply)

+ ebs_block_device {
+     delete_on_termination = false
+     device_name           = "/dev/sdg"
+     encrypted             = true
+     iops                  = (known after apply)
+     kms_key_id            = (known after apply)
+     snapshot_id           = (known after apply)
+     tags_all              = (known after apply)
+     throughput            = (known after apply)
+     volume_id             = (known after apply)
+     volume_size           = 5
+     volume_type           = "gp2"
  }

+ enclave_options (known after apply)

+ ephemeral_block_device (known after apply)

+ instance_market_options (known after apply)

+ maintenance_options (known after apply)

+ metadata_options {
+     http_endpoint               = "enabled"
+     http_protocol_ipv6          = "disabled"
+     http_put_response_hop_limit = (known after apply)
+     http_tokens                 = "required"
+     instance_metadata_tags      = (known after apply)
  }

+ network_interface (known after apply)

+ private_dns_name_options (known after apply)

+ root_block_device {
+     delete_on_termination = true
+     device_name           = (known after apply)
+     encrypted             = true
+     iops                  = (known after apply)
+     kms_key_id            = (known after apply)
+     tags_all              = (known after apply)
+     throughput            = (known after apply)
+     volume_id             = (known after apply)
+     volume_size           = (known after apply)
+     volume_type           = (known after apply)
  }

Triggered by @felipe-loka, Commit: f6425a54b7de01f30ccf20cc2c055b1b2a6cd7b2

@github-actions
Copy link

github-actions bot commented Mar 10, 2025

[ DEV - us-east-1] Terraform Plan

→ Resource Changes: 1 to create, 0 to update, 0 to re-create, 0 to delete.

✨ Create

module.ec2.aws_instance.myec2
+ ami                                  = "ami-05b10e08d247fb927"
+ 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_stop                     = (known after apply)
+ disable_api_termination              = (known after apply)
+ ebs_optimized                        = (known after apply)
+ enable_primary_ipv6                  = (known after apply)
+ get_password_data                    = false
+ host_id                              = (known after apply)
+ host_resource_group_arn              = (known after apply)
+ iam_instance_profile                 = (known after apply)
+ id                                   = (known after apply)
+ instance_initiated_shutdown_behavior = (known after apply)
+ instance_lifecycle                   = (known after apply)
+ instance_state                       = (known after apply)
+ instance_type                        = "t3.nano"
+ ipv6_address_count                   = (known after apply)
+ ipv6_addresses                       = (known after apply)
+ key_name                             = (known after apply)
+ monitoring                           = (known after apply)
+ outpost_arn                          = (known after apply)
+ password_data                        = (known after apply)
+ placement_group                      = (known after apply)
+ placement_partition_number           = (known after apply)
+ primary_network_interface_id         = (known after apply)
+ private_dns                          = (known after apply)
+ private_ip                           = (known after apply)
+ public_dns                           = (known after apply)
+ public_ip                            = (known after apply)
+ secondary_private_ips                = (known after apply)
+ security_groups                      = (known after apply)
+ source_dest_check                    = true
+ spot_instance_request_id             = (known after apply)
+ subnet_id                            = (known after apply)
+ tags_all                             = {
+     "Project" = "Terraform CI/CD"
  }
+ tenancy                              = (known after apply)
+ user_data                            = (known after apply)
+ user_data_base64                     = (known after apply)
+ user_data_replace_on_change          = false
+ vpc_security_group_ids               = (known after apply)

+ capacity_reservation_specification (known after apply)

+ cpu_options (known after apply)

+ ebs_block_device {
+     delete_on_termination = false
+     device_name           = "/dev/sdg"
+     encrypted             = true
+     iops                  = (known after apply)
+     kms_key_id            = (known after apply)
+     snapshot_id           = (known after apply)
+     tags_all              = (known after apply)
+     throughput            = (known after apply)
+     volume_id             = (known after apply)
+     volume_size           = 5
+     volume_type           = "gp2"
  }

+ enclave_options (known after apply)

+ ephemeral_block_device (known after apply)

+ instance_market_options (known after apply)

+ maintenance_options (known after apply)

+ metadata_options {
+     http_endpoint               = "enabled"
+     http_protocol_ipv6          = "disabled"
+     http_put_response_hop_limit = (known after apply)
+     http_tokens                 = "required"
+     instance_metadata_tags      = (known after apply)
  }

+ network_interface (known after apply)

+ private_dns_name_options (known after apply)

+ root_block_device {
+     delete_on_termination = true
+     device_name           = (known after apply)
+     encrypted             = true
+     iops                  = (known after apply)
+     kms_key_id            = (known after apply)
+     tags_all              = (known after apply)
+     throughput            = (known after apply)
+     volume_id             = (known after apply)
+     volume_size           = (known after apply)
+     volume_type           = (known after apply)
  }

Triggered by @felipe-loka, Commit: f6425a54b7de01f30ccf20cc2c055b1b2a6cd7b2

@felipe-loka
Copy link
Owner Author

This PR was just to showcase, I won't merge.

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