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: creating EC2 Instance: InvalidParameterValue: Value (ec2-role-for-s3-and-ssm) for parameter iamInstanceProfile.name is invalid. Invalid IAM Instance Profile name
│ status code: 400, request id: 455428ec-6e9f-43e2-a505-7711d4336680
│
│ with aws_instance.app,
│ on app.tf line 4, in resource "aws_instance" "app":
│ 4: resource "aws_instance" "app" {
│
│ Error: Reference to undeclared resource
│
│ on app.tf line 8, in resource "aws_instance" "app":
│ 8: iam_instance_profile = aws_iam_role.aws_iam_instance_profile.name
│
│ A managed resource "aws_iam_role" "aws_iam_instance_profile" has not been declared in the root module.
Automate: https://catalog.us-east-1.prod.workshops.aws/workshops/85cd2bb2-7f79-4e96-bdee-8078e469752a/en-US/part3/createinstance
The text was updated successfully, but these errors were encountered: