Comments (5)
Hi, how are you?
event_rule_role_arn
is not ignored, it is used in this resource:
resource "aws_cloudwatch_event_rule" "event_rule" {
name = var.event_rule_name
schedule_expression = var.event_rule_schedule_expression
event_bus_name = var.event_rule_event_bus_name
event_pattern = var.event_rule_event_pattern
description = var.event_rule_description
role_arn = var.event_rule_role_arn
is_enabled = var.event_rule_is_enabled
tags = {
Name = "${var.name_prefix}-cw-event-rule"
}
}
Are you sure you need to have event_rule_role_arn
in the event target (module.ecs-fargate-scheduled-task.aws_cloudwatch_event_target.ecs_scheduled_task
)??
from terraform-aws-ecs-fargate-scheduled-task.
The event target specifies a RoleArn, CloudTrail reported a failure of the event wanting to assume to role of Task and Task Execution.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/events/put-targets.html#options
{"errorMessage": "User: arn:aws:sts::##:assumed-role/corporate-dev-cli-st-cw-role/## is not authorized to perform: iam:PassRole on resource: arn:aws:iam::##:role/##-task-role-dev-app"}
from terraform-aws-ecs-fargate-scheduled-task.
Hi @tim-faase, did the change in PR-7 solve the issue?
from terraform-aws-ecs-fargate-scheduled-task.
@jnonino yes, sorry for not advising
from terraform-aws-ecs-fargate-scheduled-task.
No problem @tim-faase, thanks. Please let me know if you have any other issue!!
from terraform-aws-ecs-fargate-scheduled-task.
Related Issues (13)
- Error: "input": conflicts with input_path HOT 2
- Dependency Dashboard
- ecs_target.propagate_tags should be an enum HOT 1
- trying to create role that already exists HOT 2
- ECS Fargate schedule on 24/7 runnning tasks HOT 2
- Unable to hold deployed task definition HOT 1
- How is it possible to create a container override? HOT 1
- Introduce `tags` variable and propagate to all resources
- Use same custom Events role in rule and target to optimize resource creation.
- Adding Support for Permissions Boundary HOT 1
- Built-in IAM Role fails when Task Definition includes a task role HOT 1
- Is documentation for losers? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-ecs-fargate-scheduled-task.