library
turbot/aws
Get Involved
Version
Pipeline: 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
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| region | string | Yes | The name of the Region. | - |
| conn | connection.aws | Yes | Name of AWS connection to use. If not provided, the default AWS connection will be used. | connection.aws.default |
| instance_id | string | Yes | The ID of the EC2 instance. | - |
| http_tokens | string | No | IMDSv2 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_endpoint | string | No | Enables or disables the HTTP metadata endpoint on your instances. | - |
Outputs
| Name | Description |
|---|---|
| instance_metadata_options | The metadata options for the instance. |