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

chore(deps): bump the terraform group across 2 directories with 1 update #225

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 21, 2024

Bumps the terraform group with 1 update in the /stacks/sample_bucket directory: hashicorp/aws.
Bumps the terraform group with 1 update in the /stacks/sample_instance directory: hashicorp/aws.

Updates hashicorp/aws from 5.54.1 to 5.55.0

Release notes

Sourced from hashicorp/aws's releases.

v5.55.0

FEATURES:

  • New Resource: aws_drs_replication_configuration_template (#26399)

ENHANCEMENTS:

  • data-source/aws_autoscaling_group: Add mixed_instances_policy.launch_template.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price attribute (#38003)
  • data-source/aws_glue_catalog_table: Add additional_locations argument in storage_descriptor (#37891)
  • data-source/aws_launch_template: Add instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price attribute (#38003)
  • data-source/aws_networkmanager_core_network_policy_document: Add attachment_policies.action.add_to_network_function_group argument (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add network_function_groups configuration block (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add send-via and send-to as valid values for segment_actions.action (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add single-hop and dual-hop as valid values for segment_actions.mode (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add when_sent_to and via configuration blocks to segment_actions (#38013)
  • resource/aws_api_gateway_integration: Increase maximum value of timeout_milliseconds from 29000 (29 seconds) to 300000 (5 minutes) (#38010)
  • resource/aws_appsync_api_key: Add api_key_id attribute (#36568)
  • resource/aws_autoscaling_group: Add mixed_instances_policy.launch_template.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)
  • resource/aws_autoscaling_group: Add plan-time validation of warm_pool.max_group_prepared_capacity and warm_pool.min_size (#37174)
  • resource/aws_docdb_cluster: Add restore_to_point_in_time argument (#37716)
  • resource/aws_dynamodb_table: Adds validation for ttl values. (#37991)
  • resource/aws_ec2_fleet: Add launch_template_config.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)
  • resource/aws_glue_catalog_table: Add additional_locations argument in storage_descriptor (#37891)
  • resource/aws_glue_job: Add maintenance_window argument (#37760)
  • resource/aws_launch_template: Add instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)

BUG FIXES:

  • data-source/aws_ami: Fix interface conversion: interface {} is types.ProductCodeValues, not string panic (#37977)
  • data-source/aws_networkmanager_core_network_policy_document: Add correct except values to the returned JSON document when segment_actions.share_with_except is configured (#38013)
  • provider: Now falls back to non-FIPS endpoint if use_fips_endpoint is set and no FIPS endpoint is available (#38057)
  • resource/aws_autoscaling_group: Fix bug updating warm_pool.max_group_prepared_capacity to 0 (#37174)
  • resource/aws_dynamodb_table: Fixes perpetual diff when ttl.attribute_name is set when ttl.enabled is not set. (#37991)
  • resource/aws_ec2_network_insights_path: Mark destination as Optional (#36966)
  • resource/aws_lambda_event_source_mapping: Remove the upper limit on scaling_config.maximum_concurrency (#37980)
  • service/transitgateway: Fix resource Read pagination regression causing NotFound errors (#38011)
Changelog

Sourced from hashicorp/aws's changelog.

5.55.0 (June 20, 2024)

FEATURES:

  • New Resource: aws_drs_replication_configuration_template (#26399)

ENHANCEMENTS:

  • data-source/aws_autoscaling_group: Add mixed_instances_policy.launch_template.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price attribute (#38003)
  • data-source/aws_glue_catalog_table: Add additional_locations argument in storage_descriptor (#37891)
  • data-source/aws_launch_template: Add instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price attribute (#38003)
  • data-source/aws_networkmanager_core_network_policy_document: Add attachment_policies.action.add_to_network_function_group argument (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add network_function_groups configuration block (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add send-via and send-to as valid values for segment_actions.action (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add single-hop and dual-hop as valid values for segment_actions.mode (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add when_sent_to and via configuration blocks to segment_actions (#38013)
  • resource/aws_api_gateway_integration: Increase maximum value of timeout_milliseconds from 29000 (29 seconds) to 300000 (5 minutes) (#38010)
  • resource/aws_appsync_api_key: Add api_key_id attribute (#36568)
  • resource/aws_autoscaling_group: Add mixed_instances_policy.launch_template.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)
  • resource/aws_autoscaling_group: Add plan-time validation of warm_pool.max_group_prepared_capacity and warm_pool.min_size (#37174)
  • resource/aws_docdb_cluster: Add restore_to_point_in_time argument (#37716)
  • resource/aws_dynamodb_table: Adds validation for ttl values. (#37991)
  • resource/aws_ec2_fleet: Add launch_template_config.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)
  • resource/aws_glue_catalog_table: Add additional_locations argument in storage_descriptor (#37891)
  • resource/aws_glue_job: Add maintenance_window argument (#37760)
  • resource/aws_launch_template: Add instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)

BUG FIXES:

  • data-source/aws_networkmanager_core_network_policy_document: Add correct except values to the returned JSON document when segment_actions.share_with_except is configured (#38013)
  • provider: Now falls back to non-FIPS endpoint if use_fips_endpoint is set and no FIPS endpoint is available (#38057)
  • resource/aws_autoscaling_group: Fix bug updating warm_pool.max_group_prepared_capacity to 0 (#37174)
  • resource/aws_dynamodb_table: Fixes perpetual diff when ttl.attribute_name is set when ttl.enabled is not set. (#37991)
  • resource/aws_ec2_network_insights_path: Mark destination as Optional (#36966)
  • resource/aws_lambda_event_source_mapping: Remove the upper limit on scaling_config.maximum_concurrency (#37980)
  • service/transitgateway: Fix resource Read pagination regression causing NotFound errors (#38011)
Commits
  • 7f011bd Update CHANGELOG.md for #38057
  • 393a4d1 Merge pull request #38057 from hashicorp/b-invalid-fips-endpoints
  • e1a5b36 appsync is manually configured
  • 4968083 make gen
  • 3a6b098 Adds CHANGELOG entry
  • 3e4f772 Updates documentation for manually-configured service clients
  • eccf56d Updates client generation for manually configured services
  • 5f5ad73 Generate endpoint resolution for services without generated clients
  • 26a2010 Applies generation
  • 8c406c2 Adds SDK v1 endpoint resolver generation
  • Additional commits viewable in compare view

Updates hashicorp/aws from 5.54.1 to 5.55.0

Release notes

Sourced from hashicorp/aws's releases.

v5.55.0

FEATURES:

  • New Resource: aws_drs_replication_configuration_template (#26399)

ENHANCEMENTS:

  • data-source/aws_autoscaling_group: Add mixed_instances_policy.launch_template.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price attribute (#38003)
  • data-source/aws_glue_catalog_table: Add additional_locations argument in storage_descriptor (#37891)
  • data-source/aws_launch_template: Add instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price attribute (#38003)
  • data-source/aws_networkmanager_core_network_policy_document: Add attachment_policies.action.add_to_network_function_group argument (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add network_function_groups configuration block (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add send-via and send-to as valid values for segment_actions.action (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add single-hop and dual-hop as valid values for segment_actions.mode (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add when_sent_to and via configuration blocks to segment_actions (#38013)
  • resource/aws_api_gateway_integration: Increase maximum value of timeout_milliseconds from 29000 (29 seconds) to 300000 (5 minutes) (#38010)
  • resource/aws_appsync_api_key: Add api_key_id attribute (#36568)
  • resource/aws_autoscaling_group: Add mixed_instances_policy.launch_template.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)
  • resource/aws_autoscaling_group: Add plan-time validation of warm_pool.max_group_prepared_capacity and warm_pool.min_size (#37174)
  • resource/aws_docdb_cluster: Add restore_to_point_in_time argument (#37716)
  • resource/aws_dynamodb_table: Adds validation for ttl values. (#37991)
  • resource/aws_ec2_fleet: Add launch_template_config.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)
  • resource/aws_glue_catalog_table: Add additional_locations argument in storage_descriptor (#37891)
  • resource/aws_glue_job: Add maintenance_window argument (#37760)
  • resource/aws_launch_template: Add instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)

BUG FIXES:

  • data-source/aws_ami: Fix interface conversion: interface {} is types.ProductCodeValues, not string panic (#37977)
  • data-source/aws_networkmanager_core_network_policy_document: Add correct except values to the returned JSON document when segment_actions.share_with_except is configured (#38013)
  • provider: Now falls back to non-FIPS endpoint if use_fips_endpoint is set and no FIPS endpoint is available (#38057)
  • resource/aws_autoscaling_group: Fix bug updating warm_pool.max_group_prepared_capacity to 0 (#37174)
  • resource/aws_dynamodb_table: Fixes perpetual diff when ttl.attribute_name is set when ttl.enabled is not set. (#37991)
  • resource/aws_ec2_network_insights_path: Mark destination as Optional (#36966)
  • resource/aws_lambda_event_source_mapping: Remove the upper limit on scaling_config.maximum_concurrency (#37980)
  • service/transitgateway: Fix resource Read pagination regression causing NotFound errors (#38011)
Changelog

Sourced from hashicorp/aws's changelog.

5.55.0 (June 20, 2024)

FEATURES:

  • New Resource: aws_drs_replication_configuration_template (#26399)

ENHANCEMENTS:

  • data-source/aws_autoscaling_group: Add mixed_instances_policy.launch_template.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price attribute (#38003)
  • data-source/aws_glue_catalog_table: Add additional_locations argument in storage_descriptor (#37891)
  • data-source/aws_launch_template: Add instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price attribute (#38003)
  • data-source/aws_networkmanager_core_network_policy_document: Add attachment_policies.action.add_to_network_function_group argument (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add network_function_groups configuration block (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add send-via and send-to as valid values for segment_actions.action (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add single-hop and dual-hop as valid values for segment_actions.mode (#38013)
  • data-source/aws_networkmanager_core_network_policy_document: Add when_sent_to and via configuration blocks to segment_actions (#38013)
  • resource/aws_api_gateway_integration: Increase maximum value of timeout_milliseconds from 29000 (29 seconds) to 300000 (5 minutes) (#38010)
  • resource/aws_appsync_api_key: Add api_key_id attribute (#36568)
  • resource/aws_autoscaling_group: Add mixed_instances_policy.launch_template.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)
  • resource/aws_autoscaling_group: Add plan-time validation of warm_pool.max_group_prepared_capacity and warm_pool.min_size (#37174)
  • resource/aws_docdb_cluster: Add restore_to_point_in_time argument (#37716)
  • resource/aws_dynamodb_table: Adds validation for ttl values. (#37991)
  • resource/aws_ec2_fleet: Add launch_template_config.override.instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)
  • resource/aws_glue_catalog_table: Add additional_locations argument in storage_descriptor (#37891)
  • resource/aws_glue_job: Add maintenance_window argument (#37760)
  • resource/aws_launch_template: Add instance_requirements.max_spot_price_as_percentage_of_optimal_on_demand_price argument (#38003)

BUG FIXES:

  • data-source/aws_networkmanager_core_network_policy_document: Add correct except values to the returned JSON document when segment_actions.share_with_except is configured (#38013)
  • provider: Now falls back to non-FIPS endpoint if use_fips_endpoint is set and no FIPS endpoint is available (#38057)
  • resource/aws_autoscaling_group: Fix bug updating warm_pool.max_group_prepared_capacity to 0 (#37174)
  • resource/aws_dynamodb_table: Fixes perpetual diff when ttl.attribute_name is set when ttl.enabled is not set. (#37991)
  • resource/aws_ec2_network_insights_path: Mark destination as Optional (#36966)
  • resource/aws_lambda_event_source_mapping: Remove the upper limit on scaling_config.maximum_concurrency (#37980)
  • service/transitgateway: Fix resource Read pagination regression causing NotFound errors (#38011)
Commits
  • 7f011bd Update CHANGELOG.md for #38057
  • 393a4d1 Merge pull request #38057 from hashicorp/b-invalid-fips-endpoints
  • e1a5b36 appsync is manually configured
  • 4968083 make gen
  • 3a6b098 Adds CHANGELOG entry
  • 3e4f772 Updates documentation for manually-configured service clients
  • eccf56d Updates client generation for manually configured services
  • 5f5ad73 Generate endpoint resolution for services without generated clients
  • 26a2010 Applies generation
  • 8c406c2 Adds SDK v1 endpoint resolver generation
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the terraform group with 1 update in the /stacks/sample_bucket directory: [hashicorp/aws](https://github.com/hashicorp/terraform-provider-aws).
Bumps the terraform group with 1 update in the /stacks/sample_instance directory: [hashicorp/aws](https://github.com/hashicorp/terraform-provider-aws).


Updates `hashicorp/aws` from 5.54.1 to 5.55.0
- [Release notes](https://github.com/hashicorp/terraform-provider-aws/releases)
- [Changelog](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-provider-aws@v5.54.1...v5.55.0)

Updates `hashicorp/aws` from 5.54.1 to 5.55.0
- [Release notes](https://github.com/hashicorp/terraform-provider-aws/releases)
- [Changelog](https://github.com/hashicorp/terraform-provider-aws/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-provider-aws@v5.54.1...v5.55.0)

---
updated-dependencies:
- dependency-name: hashicorp/aws
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: terraform
- dependency-name: hashicorp/aws
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: terraform
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from RDhar as a code owner June 21, 2024 04:37
@dependabot dependabot bot added dependencies Pull requests that update a dependency file terraform Pull requests that update Terraform code labels Jun 21, 2024
@github-actions github-actions bot added the tf:plan Pull requests that plan TF code label Jun 21, 2024
@RDhar RDhar merged commit afc69b4 into main Jun 21, 2024
5 checks passed
@RDhar RDhar deleted the dependabot/terraform/stacks/sample_bucket/terraform-4ae213cfba branch June 21, 2024 07:10
@github-actions github-actions bot added the tf:apply Pull requests that apply TF code label Jun 21, 2024
Copy link

{"tf":"apply","chdir":"stacks/sample_bucket","backend-config":"backend/stg.tfbackend"}

Outline of changes.
module.sample_bucket.aws_s3_bucket.sample will be created
module.sample_bucket.aws_s3_bucket_versioning.sample will be created
Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
TF Sample by @RDhar via pull_request at 2024-06-21T07:10:08Z.
Apply complete! Resources: 2 added, 0 changed, 0 destroyed.

Outputs:

sample_bucket_id = "sample20240621071033058200000001"

Copy link

{"tf":"apply","chdir":"stacks/sample_bucket","backend-config":"backend/dev.tfbackend"}

Outline of changes.
module.sample_bucket.aws_s3_bucket.sample will be created
module.sample_bucket.aws_s3_bucket_versioning.sample will be created
Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
TF Sample by @RDhar via pull_request at 2024-06-21T07:10:08Z.
Apply complete! Resources: 2 added, 0 changed, 0 destroyed.

Outputs:

sample_bucket_id = "sample20240621071033788600000001"

Copy link

{"tf":"apply","chdir":"stacks/sample_instance","var-file":"env/dev.tfvars"}

Outline of changes.
aws_instance.sample will be created
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
TF Sample by @RDhar via pull_request at 2024-06-21T07:10:08Z.
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Outputs:

sample_instance_id = "i-06ad56c1f31ee228d"

Copy link

{"tf":"apply","chdir":"stacks/sample_instance","var-file":"env/stg.tfvars"}

Outline of changes.
aws_instance.sample will be created
Error: Saved plan is stale
TF Sample by @RDhar via pull_request at 2024-06-21T07:10:08Z.
Error: Saved plan is stale

The given plan file can no longer be applied because the state was changed by
another operation after the plan was created.

Copy link

{"tf":"apply","chdir":"stacks/sample_bucket","backend-config":"backend/stg.tfbackend","destroy":true,"auto-approve":true}

Outline of changes.
module.sample_bucket.aws_s3_bucket.sample will be created
module.sample_bucket.aws_s3_bucket_versioning.sample will be created
Apply complete! Resources: 0 added, 0 changed, 2 destroyed.
TF Sample by @RDhar via pull_request at 2024-06-21T07:10:08Z.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # module.sample_bucket.aws_s3_bucket.sample will be destroyed
  - resource "aws_s3_bucket" "sample" {
      - arn                         = "arn:aws:s3:::sample20240621071033058200000001" -> null
      - bucket                      = "sample20240621071033058200000001" -> null
      - bucket_domain_name          = "sample20240621071033058200000001.s3.amazonaws.com" -> null
      - bucket_prefix               = "sample" -> null
      - bucket_regional_domain_name = "sample20240621071033058200000001.s3.eu-west-1.amazonaws.com" -> null
      - force_destroy               = false -> null
      - hosted_zone_id              = "Z1BKCTXD74EZPE" -> null
      - id                          = "sample20240621071033058200000001" -> null
      - object_lock_enabled         = false -> null
      - region                      = "eu-west-1" -> null
      - request_payer               = "BucketOwner" -> null
      - tags                        = {
          - "Name" = "sample-bucket"
        } -> null
      - tags_all                    = {
          - "Name"      = "sample-bucket"
          - "Stack"     = "sample_bucket"
          - "Terraform" = "default"
        } -> null

      - grant {
          - id          = "7e2dd88a0345f411744e1475d3a823736728b6da43611c1d67bb56c38007bee9" -> null
          - permissions = [
              - "FULL_CONTROL",
            ] -> null
          - type        = "CanonicalUser" -> null
        }

      - server_side_encryption_configuration {
          - rule {
              - bucket_key_enabled = false -> null

              - apply_server_side_encryption_by_default {
                  - sse_algorithm = "AES256" -> null
                }
            }
        }

      - versioning {
          - enabled    = true -> null
          - mfa_delete = false -> null
        }
    }

  # module.sample_bucket.aws_s3_bucket_versioning.sample will be destroyed
  - resource "aws_s3_bucket_versioning" "sample" {
      - bucket = "sample20240621071033058200000001" -> null
      - id     = "sample20240621071033058200000001" -> null

      - versioning_configuration {
          - status = "Enabled" -> null
        }
    }

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

Changes to Outputs:
  - sample_bucket_id = "sample20240621071033058200000001" -> null

Apply complete! Resources: 0 added, 0 changed, 2 destroyed.

Copy link

{"tf":"apply","chdir":"stacks/sample_bucket","backend-config":"backend/dev.tfbackend","destroy":true,"auto-approve":true}

Outline of changes.
module.sample_bucket.aws_s3_bucket.sample will be created
module.sample_bucket.aws_s3_bucket_versioning.sample will be created
Apply complete! Resources: 0 added, 0 changed, 2 destroyed.
TF Sample by @RDhar via pull_request at 2024-06-21T07:10:08Z.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # module.sample_bucket.aws_s3_bucket.sample will be destroyed
  - resource "aws_s3_bucket" "sample" {
      - arn                         = "arn:aws:s3:::sample20240621071033788600000001" -> null
      - bucket                      = "sample20240621071033788600000001" -> null
      - bucket_domain_name          = "sample20240621071033788600000001.s3.amazonaws.com" -> null
      - bucket_prefix               = "sample" -> null
      - bucket_regional_domain_name = "sample20240621071033788600000001.s3.eu-west-1.amazonaws.com" -> null
      - force_destroy               = false -> null
      - hosted_zone_id              = "Z1BKCTXD74EZPE" -> null
      - id                          = "sample20240621071033788600000001" -> null
      - object_lock_enabled         = false -> null
      - region                      = "eu-west-1" -> null
      - request_payer               = "BucketOwner" -> null
      - tags                        = {
          - "Name" = "sample-bucket"
        } -> null
      - tags_all                    = {
          - "Name"      = "sample-bucket"
          - "Stack"     = "sample_bucket"
          - "Terraform" = "default"
        } -> null

      - grant {
          - id          = "7e2dd88a0345f411744e1475d3a823736728b6da43611c1d67bb56c38007bee9" -> null
          - permissions = [
              - "FULL_CONTROL",
            ] -> null
          - type        = "CanonicalUser" -> null
        }

      - server_side_encryption_configuration {
          - rule {
              - bucket_key_enabled = false -> null

              - apply_server_side_encryption_by_default {
                  - sse_algorithm = "AES256" -> null
                }
            }
        }

      - versioning {
          - enabled    = true -> null
          - mfa_delete = false -> null
        }
    }

  # module.sample_bucket.aws_s3_bucket_versioning.sample will be destroyed
  - resource "aws_s3_bucket_versioning" "sample" {
      - bucket = "sample20240621071033788600000001" -> null
      - id     = "sample20240621071033788600000001" -> null

      - versioning_configuration {
          - status = "Enabled" -> null
        }
    }

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

Changes to Outputs:
  - sample_bucket_id = "sample20240621071033788600000001" -> null

Apply complete! Resources: 0 added, 0 changed, 2 destroyed.

Copy link

{"tf":"apply","chdir":"stacks/sample_instance","var-file":"env/dev.tfvars","destroy":true,"auto-approve":true}

Outline of changes.
aws_instance.sample will be created
Apply complete! Resources: 0 added, 0 changed, 1 destroyed.
TF Sample by @RDhar via pull_request at 2024-06-21T07:10:08Z.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # aws_instance.sample will be destroyed
  - resource "aws_instance" "sample" {
      - ami                                  = "ami-08bd5763f3287f130" -> null
      - arn                                  = "arn:aws:ec2:eu-west-1:813676077823:instance/i-06ad56c1f31ee228d" -> null
      - associate_public_ip_address          = true -> null
      - availability_zone                    = "eu-west-1b" -> null
      - cpu_core_count                       = 1 -> null
      - cpu_threads_per_core                 = 1 -> null
      - disable_api_stop                     = false -> null
      - disable_api_termination              = false -> null
      - ebs_optimized                        = false -> null
      - get_password_data                    = false -> null
      - hibernation                          = false -> null
      - id                                   = "i-06ad56c1f31ee228d" -> null
      - instance_initiated_shutdown_behavior = "stop" -> null
      - instance_state                       = "running" -> null
      - instance_type                        = "t2.nano" -> null
      - ipv6_address_count                   = 0 -> null
      - ipv6_addresses                       = [] -> null
      - monitoring                           = false -> null
      - placement_partition_number           = 0 -> null
      - primary_network_interface_id         = "eni-01d8a90bd07bf54c5" -> null
      - private_dns                          = "ip-172-31-31-213.eu-west-1.compute.internal" -> null
      - private_ip                           = "172.31.31.213" -> null
      - public_dns                           = "ec2-54-170-139-30.eu-west-1.compute.amazonaws.com" -> null
      - public_ip                            = "54.170.139.30" -> null
      - secondary_private_ips                = [] -> null
      - security_groups                      = [
          - "default",
        ] -> null
      - source_dest_check                    = true -> null
      - subnet_id                            = "subnet-02320f7c6b24d15b5" -> null
      - tags                                 = {
          - "Name" = "sample-instance"
        } -> null
      - tags_all                             = {
          - "Environment" = "Undefined"
          - "Name"        = "sample-instance"
          - "Stack"       = "sample_instance"
          - "Terraform"   = "default"
        } -> null
      - tenancy                              = "default" -> null
      - user_data_replace_on_change          = false -> null
      - vpc_security_group_ids               = [
          - "sg-0f742cecdce2139d5",
        ] -> null

      - capacity_reservation_specification {
          - capacity_reservation_preference = "open" -> null
        }

      - cpu_options {
          - core_count       = 1 -> null
          - threads_per_core = 1 -> null
        }

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

      - enclave_options {
          - enabled = false -> null
        }

      - maintenance_options {
          - auto_recovery = "default" -> null
        }

      - metadata_options {
          - http_endpoint               = "enabled" -> null
          - http_protocol_ipv6          = "disabled" -> null
          - http_put_response_hop_limit = 1 -> null
          - http_tokens                 = "optional" -> null
          - instance_metadata_tags      = "disabled" -> null
        }

      - 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 {
          - delete_on_termination = true -> null
          - device_name           = "/dev/sda1" -> null
          - encrypted             = false -> null
          - iops                  = 100 -> null
          - tags                  = {} -> null
          - tags_all              = {
              - "Environment" = "Undefined"
              - "Stack"       = "sample_instance"
              - "Terraform"   = "default"
            } -> null
          - throughput            = 0 -> null
          - volume_id             = "vol-0c9746f43b936675e" -> null
          - volume_size           = 8 -> null
          - volume_type           = "gp2" -> null
        }
    }

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

Changes to Outputs:
  - sample_instance_id = "i-06ad56c1f31ee228d" -> null

Apply complete! Resources: 0 added, 0 changed, 1 destroyed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file terraform Pull requests that update Terraform code tf:apply Pull requests that apply TF code tf:plan Pull requests that plan TF code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant