library
turbot/aws
Get Involved
Version
Pipeline: Modify EC2 Instance Attributes
Modify attributes of an EC2 instance in AWS.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws.pipeline.modify_ec2_instance_attributes \ --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_attributes 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 | ID of the EC2 instance to modify. | - |
security_group_ids | list(string) | No | IDs of the new security groups to associate with the instance. | - |
Outputs
This pipeline has no outputs.