-
Notifications
You must be signed in to change notification settings - Fork 831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECS ROLE ARN #9
Comments
I tried using the ecs for "executionRoleArn" that I got from create-cluster command, and the cloud formation arn for "taskRoleArn" but got the following error:
|
If you go to "CloudFormation" in the AWS console and locate the stack you made originally, you should find an "Outputs" tab. In there you will find the ARNs for ECS role and ECS Task role. |
I cannot find the output described. I looked through my logs and found this:
arn masked for privacy. When I made the stack I seem to have only gotten one cloud formation arn. |
Maybe this link will be helpful? Particularly the section labeled |
@jschwarzwalder - look at this bit within the instructions of module 2, the describe-stacks call is the one that was missed that contains lots of the values you'll need to copy and paste later in the workshop: You can check on the status of your stack creation either via the AWS Console or by running the command:
When in the describe-stacks response, you see a status of CREATE_COMPLETE, CloudFormation has finished provisioning all of the core networking and security resources described above. Once you see CREATE_COMPLETE in the describe-stacks response command above, copy the full response and save it for future reference in a text editor. Or, create a temporary folder and file to save it to within your IDE. This JSON response contains the unique identifiers for several of the created resources, which we will use later in this workshop. |
I recovered from error by running this to get the information I needed.
The paragraphs are very dense, and so it was hard to understand that I would need to wait until I get a different status. |
I get |
Me to facing same isssue , do u have any solution ? |
|
I'm not certain which value to place in these. I have an arn for cloud formation and only one from ecs that I got when I created the cluster. What goes where?
"repositoryArn": "arn:aws:ecr:"
"StackId": "arn:aws:cloudformation:"
"Arn": "arn:aws:iam:"
"clusterArn": "arn:aws:ecs:"
Is there a command I can run at this point to retrieve in information in case I forgot to save the file?
Thank you for clarifying
The text was updated successfully, but these errors were encountered: