You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use the unique ids for permissions for secrets. Since I cannot access the uniqueid on the task_exec role, we have to do a chicken and an egg scenario of trying to access these fields through a data source:
# These are needed because the cloudposse module does not expose the roles unique ids
data "aws_iam_role" "task_exec_role" {
name = module.ecs_alb_service_task.task_exec_role_name
}
Describe Ideal Solution
As stated above, just an output of the uniqueid for the task_exec role
The text was updated successfully, but these errors were encountered:
Describe the Feature
An output of the unique IDs for the two roles created for the service task:
task_exec_role_uniqueid
Expected Behavior
When using this module, I can access the uniqueid (https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_role#unique_id) field on the task_exec role.
Use Case
We use the unique ids for permissions for secrets. Since I cannot access the uniqueid on the task_exec role, we have to do a chicken and an egg scenario of trying to access these fields through a data source:
Describe Ideal Solution
As stated above, just an output of the uniqueid for the task_exec role
The text was updated successfully, but these errors were encountered: