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
Error: Error creating Step Function State Machine:
AccessDeniedException:
Neither the global service principal states.amazonaws.com,
nor the regional one is authorized to assume the provided role.
depends_on=[
# note this direct dependency setting does not work# "aws_iam_role_policy.step_functions_execution","null_resource.delay",
]
}
# Initial run will fail due to the timing issue# * aws_sfn_state_machine.batch: Error creating Step Function State Machine:# AccessDeniedException: Neither the global service principal states.amazonaws.com,# nor the regional one is authorized to assume the provided role.# https://github.com/hashicorp/terraform/issues/2869# Therefore wait 10 seconds# https://github.com/hashicorp/terraform/issues/17726#issuecomment-377357866resource"null_resource""delay" {
provisioner"local-exec" {
command="sleep 10"
}
triggers={
"before"="${aws_iam_role_policy.step_functions_execution.id}"
}
}
エラー内容
#6 (comment)
The text was updated successfully, but these errors were encountered: