Skip to content

Conversation

@Khushi-Kalantri-Comprinno

Context

This adds testcases for ssm ec2instance automatic protection

Description

  • SSM-managed instance with termination protection enabled
  • SSM-managed instance with termination protection disabled
  • Running instances not managed by SSM
  • No running instances found
  • EC2 client raises ClientError
  • Termination protection attribute is missing

Checklist

  • [x ] Added new checks? If yes, reviewed necessary permissions
  • Code covered by tests
  • Documentation follows Google Python Style Guide
  • Considered if backporting is needed

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

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 this pull request may close these issues.

1 participant