I'm new to the AWS ecosystem and have what might be a naive question. While trying to create a GlueRunner
Lambda
stack with CloudFormation
(using pynt
), from the Cloud9
shell of an account with all the relevant permissions set up through IAM
, CloudWatch
showed me an error that occurred because I was using a "truncated" ARN
without the region and the account ID:
[ERROR] InvalidArn: An error occurred (InvalidArn) when calling the GetActivityTask operation: Invalid Arn: 'Invalid ARN prefix: GlueRunnerActivity'
In a different CI/CD pipeline, however, I had used the truncated pattern, and it had worked without issues. Specifically, I had used "executionRoleArn": "ecsTaskExecutionRole"
in the task definition config JSON in a pipeline to deploy a docker image with ECS
using GitHub Actions
with access to the required access key ID and secret access key through the repository Secrets
.
Is there a way to use a pattern similar to the latter, which does not disclose the account ID, in the former workflow?