Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
ha7315 committed Apr 2, 2024
1 parent ae26234 commit 7b43901
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions modules/create-rds-postgres-tester/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,36 +23,3 @@ resource "aws_iam_role_policy_attachment" "ecs_task__ssm_policy" {
role = module.create_tester_user.task_role_name
policy_arn = aws_iam_policy.ssm_policy.arn
}

# resource "aws_iam_role" "ecs_task_execution" {
# name = "ecs-task-execution-role"
# assume_role_policy = jsonencode({
# Version = "2012-10-17",
# Statement = [
# {
# Effect = "Allow",
# Principal = {
# Service = "ecs-tasks.amazonaws.com"
# },
# Action = "sts:AssumeRole"
# }
# ]
# })
# }

# data "aws_iam_policy_document" "ecs_task_execution" {
# statement {
# actions = [
# "ssm:GetParameter",
# "ssm:GetParametersByPath",
# "ssm:DescribeParameters",
# "ssm:PutParameter"
# ]
# resources = ["*"]
# }
# }

# resource "aws_iam_role_policy_attachment" "ecs_task_execution" {
# role = aws_iam_role.ecs_task_execution.name
# policy_arn = aws_iam_policy.ssm_policy.arn
# }

0 comments on commit 7b43901

Please sign in to comment.