Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 9eddff8

Browse files
committed
Merge branch '26-fix-ecs-tagging-permissions' into 'develop'
Resolve "Tagging resources with CDK gives: Did not have IAM permissions to process tags on AWS::ECS::Service resource." Closes #26 See merge request verbose-equals-true/django-postgres-vue-gitlab-ecs!67
2 parents 5ad95b6 + ac1a2c8 commit 9eddff8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

awscdk/app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
env={"region": "us-east-1"},
2828
)
2929

30+
# in order to be able to tag ECS resources, you need to go to
31+
# the ECS Console > Account Settings > Amazon ECS ARN and resource ID settings
32+
# and enable at least Service and Task. Optionally enable
33+
# CloudWatch Container Insights
3034
stack.node.apply_aspect(core.Tag("StackName", full_app_name))
3135

3236
app.synth()

awscdk/awscdk/rds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(
6868
"engine_mode": "serverless",
6969
"engine": "aurora-postgresql",
7070
"engine_version": "10.7",
71-
"port": 5432,
71+
# "port": 5432,
7272
"enable_http_endpoint": True,
7373
"master_username": self.db_secret.secret_value_from_json(
7474
"username"

0 commit comments

Comments
 (0)