tests.system.amazon.aws.example_ssm¶
Attributes¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
Waits for an EC2 instance to register with AWS Systems Manager (SSM). |
Module Contents¶
- tests.system.amazon.aws.example_ssm.create_instance_profile(role_name, instance_profile_name)[source]¶
- tests.system.amazon.aws.example_ssm.delete_instance_profile(instance_profile_name, role_name)[source]¶
- tests.system.amazon.aws.example_ssm.wait_until_ssm_ready(instance_id, max_attempts=10, delay_seconds=15)[source]¶
Waits for an EC2 instance to register with AWS Systems Manager (SSM).
This may take over a minute even after the instance is running. Raises an exception if the instance is not ready after max_attempts.