standard
turbot/aws_compliance
Get Involved
Version
Pipeline: Put or Append to S3 bucket Policy
Appends a new policy statement to an existing S3 bucket policy or creates one if it doesn't exist.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run aws_compliance.pipeline.put_s3_bucket_policy \ --arg 'region=<string>' \ --arg 'bucket=<string>' \ --arg 'policy=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = aws_compliance.pipeline.put_s3_bucket_policy args = { region = <string> bucket = <string> policy = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
region | string | Yes | AWS Region of the resource(s). | - |
conn | connection.aws | Yes | Name of the AWS connection to be used for any authenticated actions. | connection.aws.default |
bucket | string | Yes | The name of the S3 bucket. | - |
policy | string | Yes | The base template for the new policy statement without bucket interpolation. | - |
Outputs
Name | Description |
---|---|
concatenated_policy_output |
Tags
category = Compliance
folder = Internal
mod = aws
service = AWS/S3