aws-samples / one-observability-demo

Sample microservice based application demonstrating observability capabilities on AWS
https://observability.workshop.aws/
MIT No Attribution
214 stars 118 forks source link

Stack fails #201

Open ashishvd1 opened 1 year ago

ashishvd1 commented 1 year ago

The first stack itself fails.

[ERROR] 2023-02-01T02:54:03.361Z 0d0b484a-a3ce-4481-8b37-a95a6c1b4d29 An error occurred (IncorrectState) when calling the AssociateIamInstanceProfile operation: There is an existing association for instance i-00fd9028cfc49c644 Traceback (most recent call last): File "/var/task/index.py", line 43, in lambda_handler response = ec2.associate_iam_instance_profile(IamInstanceProfile=iam_instance_profile, InstanceId=instance['InstanceId']) File "/var/runtime/botocore/client.py", line 391, in _api_call return self._make_api_call(operation_name, kwargs) File "/var/runtime/botocore/client.py", line 719, in _make_api_call raise error_class(parsed_response, operation_name) botocore.exceptions.ClientError: An error occurred (IncorrectState) when calling the AssociateIamInstanceProfile operation: There is an existing association for instance i-00fd9028cfc49c644

gtantachuco commented 1 year ago

I am using the Cloud9 instructions (https://catalog.workshops.aws/observability/en-US/installation/not-using-ee/setup-cloud9) and experienced the same issue. Is there a workaround?

snypher commented 1 year ago

Same error here when trying to deploy in my own AWS account (not at AWS event)