Skip to content

Stacks Config files With migration Flag set as true and creation_source Source as migration-api in State Files#6

Open
sujaysamanta wants to merge 4 commits intostack-projects-test-new-v1from
stacks-with-migration-flag
Open

Stacks Config files With migration Flag set as true and creation_source Source as migration-api in State Files#6
sujaysamanta wants to merge 4 commits intostack-projects-test-new-v1from
stacks-with-migration-flag

Conversation

@sujaysamanta
Copy link
Contributor

This pull request updates Terraform configurations for both the main infrastructure and migration stacks. The most important changes include provider version upgrades for improved compatibility, minor resource property adjustments, and cleanups related to migration stack management.

Provider Version Upgrades

  • Upgraded the AWS provider to version 6.28.0 in _stacks_generated/.terraform.lock.hcl, updating associated hashes for improved compatibility and security.
  • Upgraded the TFE provider to version 0.73.0 (with updated constraints) in stacks_migration_infra/.terraform.lock.hcl and stacks_migration_infra/main.tf, updating hashes and ensuring the code uses the latest supported features. [1] [2]

Migration Stack Improvements

  • Added the migration = true attribute to the tfe_stack.stack resource in stacks_migration_infra/main.tf to clearly identify migration stacks.
  • Updated default values for project_name and stack_name variables in stacks_migration_infra/variables.tf to reflect migration context.

Resource Property Adjustments

  • Fixed the ordering of instance_name and ami_id properties in both dev-workspace and prod-workspace deployments in _stacks_generated/deployment.tfdeploy.hcl for consistency. [1] [2]

Cleanup

  • Removed the unused stack_deployment_details output and its supporting local variable from stacks_migration_infra/output.tf to tidy up outputs.
  • Minor formatting fix in _stacks_generated/variables.tfcomponent.hcl.

HCP Terraform Resources:

Project URL: https://app.terraform.io/app/sujay-test-01/projects/prj-oABmxcANziBVixox
Stacks URL https://app.terraform.io/app/sujay-test-01/projects/prj-oABmxcANziBVixox/stacks/st-sT6pcE8uPVdSuktv

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