diff --git a/stacks_migration_infra/main.tf b/stacks_migration_infra/main.tf index 576b11d..0e56fc4 100644 --- a/stacks_migration_infra/main.tf +++ b/stacks_migration_infra/main.tf @@ -33,4 +33,10 @@ resource "tfmigrate_stack_migration" "stack_migration" { project = tfe_project.stack_project.name terraform_config_dir = var.terraform_config_dir workspace_deployment_mapping = var.workspace_deployment_mapping -} \ No newline at end of file +} + +import { + to = tfe_project.stack_project + id = "prj-XzHVjdCZnmdcPEDS" +} + diff --git a/stacks_migration_infra/output.tf b/stacks_migration_infra/output.tf index 8c6ced1..079603e 100644 --- a/stacks_migration_infra/output.tf +++ b/stacks_migration_infra/output.tf @@ -10,11 +10,11 @@ locals { stack_deployment_details = ( tfmigrate_stack_migration.stack_migration.migration_hash != "" ? provider::tfmigrate::decode_stacks_migration_hash_to_json( - tfmigrate_stack_migration.stack_migration.migration_hash - ) : null + tfmigrate_stack_migration.stack_migration.migration_hash + ) : null ) } output "stack_deployment_details" { value = local.stack_deployment_details -} \ No newline at end of file +} diff --git a/stacks_migration_infra/variables.tf b/stacks_migration_infra/variables.tf index 4fa6ecd..1571ad0 100644 --- a/stacks_migration_infra/variables.tf +++ b/stacks_migration_infra/variables.tf @@ -7,11 +7,11 @@ variable "tfe_hostname" { } variable "project_name" { - default = "new-stacks-project" + default = "Tf-Migrate-Stack-Migration-Retry-Test" } variable "stack_name" { - default = "new-stacks-v1" + default = "hello-stacks-v5" } variable "stacks_config_file_dir" {