cloud-inventory¶
Inventory cloud metadata
Collect internal API information about a cloud instance
Requires cloud/provider to be set correctly. Cloud provisioners should set this field
automatically. You can use cloud-detect-meta-api to discover the cloud/provider by inspection.
If cloud/provider is not set then does nothing.
Depending on the cloud provider, sets discovered cloud/* data from the cloud's discovery API including:
public-ipv4public-hostnameinstance-typeplacement/availability-zone
Note
An unreachable meta api, a failed lookup, or a reported instance-id that does not match cloud/instance-id is logged as a warning and does not fail the task.
Objects that Reference cloud-inventory¶
- stages cloud-inventory in Core Task Library as part of Tasks (declared)