Skip to content
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

AWS Three Tier Web Architecture > Part 3: App Tier Instance Deployment > App Instance Deployment #102

Closed
Tracked by #13
tungbq opened this issue Jun 14, 2023 · 2 comments · Fixed by #108
Closed
Tracked by #13

Comments

@tungbq
Copy link
Owner

tungbq commented Jun 14, 2023

Automate: https://catalog.us-east-1.prod.workshops.aws/workshops/85cd2bb2-7f79-4e96-bdee-8078e469752a/en-US/part3/createinstance

@tungbq
Copy link
Owner Author

tungbq commented Jun 14, 2023

│ 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" {

@tungbq
Copy link
Owner Author

tungbq commented Jun 14, 2023

│ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant