-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* UML-3115 Move ECS Terraform to region module
- Loading branch information
Sam Ainsworth
authored
Oct 11, 2023
1 parent
b87582a
commit db36d37
Showing
23 changed files
with
943 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
|
||
- uses: hashicorp/setup-terraform@e192cfcbae6c6ed207c277ed7624131996c9bf13 # [email protected] | ||
with: | ||
terraform_version: 1.2.4 | ||
terraform_version: 1.5.6 | ||
|
||
- name: configure AWS credentials for terraform | ||
uses: aws-actions/configure-aws-credentials@375a690dc0af3921541e5f427167f333d7e85f67 # [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ jobs: | |
|
||
- uses: hashicorp/setup-terraform@e192cfcbae6c6ed207c277ed7624131996c9bf13 # [email protected] | ||
with: | ||
terraform_version: 1.2.4 | ||
terraform_version: 1.5.6 | ||
|
||
- name: configure AWS credentials for getting pagerduty token | ||
uses: aws-actions/configure-aws-credentials@375a690dc0af3921541e5f427167f333d7e85f67 # [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
- uses: actions/checkout@f095bcc56b7c2baf48f3ac70d6d6782f4f553222 # pin@v3 | ||
- uses: hashicorp/setup-terraform@e192cfcbae6c6ed207c277ed7624131996c9bf13 # pin@v2 | ||
with: | ||
terraform_version: 1.2.4 | ||
terraform_version: 1.5.6 | ||
terraform_wrapper: false | ||
|
||
- uses: webfactory/ssh-agent@d4b9b8ff72958532804b70bbe600ad43b36d5f2e # [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.2.4 | ||
1.5.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.2.4 | ||
1.5.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
output "admin_domain" { | ||
value = module.eu_west_1.admin_domain | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
moved { | ||
from = aws_ecs_cluster.use-an-lpa | ||
to = module.eu_west_1.aws_ecs_cluster.use_an_lpa | ||
} | ||
|
||
moved { | ||
from = aws_ecs_service.actor | ||
to = module.eu_west_1.aws_ecs_service.actor | ||
} | ||
|
||
moved { | ||
from = aws_ecs_service.admin | ||
to = module.eu_west_1.aws_ecs_service.admin | ||
} | ||
|
||
moved { | ||
from = aws_ecs_service.api | ||
to = module.eu_west_1.aws_ecs_service.api | ||
} | ||
|
||
moved { | ||
from = aws_ecs_service.pdf | ||
to = module.eu_west_1.aws_ecs_service.pdf | ||
} | ||
|
||
moved { | ||
from = aws_ecs_service.viewer | ||
to = module.eu_west_1.aws_ecs_service.viewer | ||
} | ||
|
||
moved { | ||
from = aws_ecs_task_definition.actor | ||
to = module.eu_west_1.aws_ecs_task_definition.actor | ||
} | ||
|
||
moved { | ||
from = aws_ecs_task_definition.admin | ||
to = module.eu_west_1.aws_ecs_task_definition.admin | ||
} | ||
|
||
moved { | ||
from = aws_ecs_task_definition.api | ||
to = module.eu_west_1.aws_ecs_task_definition.api | ||
} | ||
|
||
moved { | ||
from = aws_ecs_task_definition.pdf | ||
to = module.eu_west_1.aws_ecs_task_definition.pdf | ||
} | ||
|
||
moved { | ||
from = aws_ecs_task_definition.viewer | ||
to = module.eu_west_1.aws_ecs_task_definition.viewer | ||
} | ||
|
||
moved { | ||
from = aws_iam_role_policy.actor_permissions_role | ||
to = module.eu_west_1.aws_iam_role_policy.actor_permissions_role | ||
} | ||
|
||
moved { | ||
from = aws_iam_role_policy.admin_permissions_role | ||
to = module.eu_west_1.aws_iam_role_policy.admin_permissions_role | ||
} | ||
|
||
moved { | ||
from = aws_iam_role_policy.api_permissions_role | ||
to = module.eu_west_1.aws_iam_role_policy.api_permissions_role | ||
} | ||
|
||
moved { | ||
from = aws_iam_role_policy.execution_role | ||
to = module.eu_west_1.aws_iam_role_policy.execution_role | ||
} | ||
|
||
moved { | ||
from = aws_iam_role_policy.viewer_permissions_role | ||
to = module.eu_west_1.aws_iam_role_policy.viewer_permissions_role | ||
} | ||
|
||
moved { | ||
from = aws_security_group.actor_ecs_service | ||
to = module.eu_west_1.aws_security_group.actor_ecs_service | ||
} | ||
|
||
moved { | ||
from = aws_security_group.admin_ecs_service | ||
to = module.eu_west_1.aws_security_group.admin_ecs_service | ||
} | ||
|
||
moved { | ||
from = aws_security_group.api_ecs_service | ||
to = module.eu_west_1.aws_security_group.api_ecs_service | ||
} | ||
|
||
moved { | ||
from = aws_security_group.pdf_ecs_service | ||
to = module.eu_west_1.aws_security_group.pdf_ecs_service | ||
} | ||
|
||
moved { | ||
from = aws_security_group.viewer_ecs_service | ||
to = module.eu_west_1.aws_security_group.viewer_ecs_service | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.actor_ecs_service_egress | ||
to = module.eu_west_1.aws_security_group_rule.actor_ecs_service_egress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.actor_ecs_service_elasticache_ingress | ||
to = module.eu_west_1.aws_security_group_rule.actor_ecs_service_elasticache_ingress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.actor_ecs_service_ingress | ||
to = module.eu_west_1.aws_security_group_rule.actor_ecs_service_ingress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.admin_ecs_service_egress | ||
to = module.eu_west_1.aws_security_group_rule.admin_ecs_service_egress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.admin_ecs_service_ingress | ||
to = module.eu_west_1.aws_security_group_rule.admin_ecs_service_ingress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.api_ecs_service_actor_ingress | ||
to = module.eu_west_1.aws_security_group_rule.api_ecs_service_actor_ingress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.api_ecs_service_egress | ||
to = module.eu_west_1.aws_security_group_rule.api_ecs_service_egress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.api_ecs_service_viewer_ingress | ||
to = module.eu_west_1.aws_security_group_rule.api_ecs_service_viewer_ingress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.pdf_ecs_service_egress | ||
to = module.eu_west_1.aws_security_group_rule.pdf_ecs_service_egress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.pdf_ecs_service_viewer_ingress | ||
to = module.eu_west_1.aws_security_group_rule.pdf_ecs_service_viewer_ingress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.viewer_ecs_service_egress | ||
to = module.eu_west_1.aws_security_group_rule.viewer_ecs_service_egress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.viewer_ecs_service_elasticache_ingress | ||
to = module.eu_west_1.aws_security_group_rule.viewer_ecs_service_elasticache_ingress | ||
} | ||
|
||
moved { | ||
from = aws_security_group_rule.viewer_ecs_service_ingress | ||
to = module.eu_west_1.aws_security_group_rule.viewer_ecs_service_ingress | ||
} | ||
|
||
moved { | ||
from = aws_service_discovery_service.api_ecs | ||
to = module.eu_west_1.aws_service_discovery_service.api_ecs | ||
} | ||
|
||
moved { | ||
from = aws_service_discovery_service.pdf_ecs | ||
to = module.eu_west_1.aws_service_discovery_service.pdf_ecs | ||
} |
Oops, something went wrong.