2022-05-16 04:33:00,372 [CDV] [ERROR] [Test-5] Retrieving the instance metadata is not allowed.
If the instance metadata cannot be accessed, you cannot use the AWS credentials from the EC2 Instance using the Use EC2 instance credentials option.
For more information on configuring the EC2 instance to retrieve instance metadata, refer to https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
Once you have configured the EC2 instance to retrieve the instance metadata, you can perform a check to verify that the instance metadata is accessible from Cloud Discovery & Visibility.
- Click in the top-right corner of the page.
- From the drop-down menu, select Recheck EC2 instance credentials.
If the metadata is retrievable, you can select the Use EC2 instance credentials option from the AWS Credentials page.