Skip to content

Commit 3f9091f

Browse files
author
rahul-infra
committed
updated root readme file.
1 parent a21e273 commit 3f9091f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# terraform-aws-ecs-deployment
33

44
Terraform module to deploy production-ready applications and services on an existing ECS infra.
5+
This module supports both same-account and cross-account ACM → Route53 validation workflows. For same-account usage, simply map the providers as providers = { aws = aws, aws.cross_account_provider = aws } without any assume role.
6+
For cross-account setups, you must create an IAM Role in the Route53 Hosted Zone account (Account B) that allows Account A (where ACM and application resources are created) to assume it. This role should grant permissions such as route53:ChangeResourceRecordSets, route53:ListHostedZonesByName, and route53:ListResourceRecordSets, along with a trust policy that permits Account A to assume the role.
7+
When using cross-account mode, configure an alias provider with assume_role and pass it to the module as:
8+
providers = { aws = aws, aws.cross_account_provider = aws.cross_account_provider }.
59

610
## Architecture Diagram
711

0 commit comments

Comments
 (0)