From 7f07ae602df364a170a8b67849e8b75adc6d3fe0 Mon Sep 17 00:00:00 2001 From: Michele Pittoni Date: Tue, 3 Nov 2020 17:18:21 +0100 Subject: [PATCH 1/2] Document instance_life_cycle in ec2_metadata_facts --- plugins/modules/ec2_metadata_facts.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/modules/ec2_metadata_facts.py b/plugins/modules/ec2_metadata_facts.py index eccf887fe8d..4963d88971d 100644 --- a/plugins/modules/ec2_metadata_facts.py +++ b/plugins/modules/ec2_metadata_facts.py @@ -243,8 +243,12 @@ description: Data that can be used by other parties to verify its origin and authenticity. type: str sample: "" + ansible_ec2_instance_life_cycle: + description: The life cycle of the instance. + type: str + sample: "on-demand" ansible_ec2_instance_type: - description: The type of instance. + description: The type of the instance. type: str sample: "m4.large" ansible_ec2_local_hostname: From dc90bfecc59cc1bc7f189cfe232eb8fc040bb39b Mon Sep 17 00:00:00 2001 From: Michele Pittoni Date: Wed, 11 Nov 2020 11:47:15 +0100 Subject: [PATCH 2/2] Update description for ansible_ec2_instance_life_cycle Co-authored-by: Mark Chappell --- plugins/modules/ec2_metadata_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/ec2_metadata_facts.py b/plugins/modules/ec2_metadata_facts.py index 4963d88971d..e871f2d9e0a 100644 --- a/plugins/modules/ec2_metadata_facts.py +++ b/plugins/modules/ec2_metadata_facts.py @@ -244,7 +244,7 @@ type: str sample: "" ansible_ec2_instance_life_cycle: - description: The life cycle of the instance. + description: The purchasing option of the instance. type: str sample: "on-demand" ansible_ec2_instance_type: