library
turbot/aws
OverviewPipelines
0
Triggers
0
Variables
GitHub

Modify EC2 Instance Metadata Options

Modify the instance metadata parameters on a running or stopped instance.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws.pipeline.modify_ec2_instance_metadata_options \
--arg 'region=<string>' \
--arg 'instance_id=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = aws.pipeline.modify_ec2_instance_metadata_options
args = {
region = <string>
instance_id = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
regionstringYesThe name of the Region.-
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
instance_idstringYesThe ID of the EC2 instance.-
http_tokensstringNoIMDSv2 uses token-backed sessions. Set the use of HTTP tokens to optional (in other words, set the use of IMDSv2 to optional ) or required (in other words, set the use of IMDSv2 to required).-
http_endpointstringNoEnables or disables the HTTP metadata endpoint on your instances.-

Outputs

NameDescription
instance_metadata_optionsThe metadata options for the instance.