Fix access_logs_s3_prefix leading/trailing slash (#55148)
- Add documentation regarding restrictions on access_logs_s3_prefix (cannot have a leading or trailing slash)pull/4420/head
parent
adc0d2cd83
commit
698d2454c7
|
@ -35,12 +35,16 @@ options:
|
||||||
type: bool
|
type: bool
|
||||||
access_logs_s3_bucket:
|
access_logs_s3_bucket:
|
||||||
description:
|
description:
|
||||||
- The name of the S3 bucket for the access logs. This attribute is required if access logs in Amazon S3 are enabled. The bucket must exist in the same
|
- The name of the S3 bucket for the access logs.
|
||||||
|
- Required if access logs in Amazon S3 are enabled.
|
||||||
|
- The bucket must exist in the same
|
||||||
region as the load balancer and have a bucket policy that grants Elastic Load Balancing permission to write to the bucket.
|
region as the load balancer and have a bucket policy that grants Elastic Load Balancing permission to write to the bucket.
|
||||||
required: false
|
required: false
|
||||||
access_logs_s3_prefix:
|
access_logs_s3_prefix:
|
||||||
description:
|
description:
|
||||||
- The prefix for the location in the S3 bucket. If you don't specify a prefix, the access logs are stored in the root of the bucket.
|
- The prefix for the log location in the S3 bucket.
|
||||||
|
- If you don't specify a prefix, the access logs are stored in the root of the bucket.
|
||||||
|
- Cannot begin or end with a slash.
|
||||||
required: false
|
required: false
|
||||||
deletion_protection:
|
deletion_protection:
|
||||||
description:
|
description:
|
||||||
|
@ -161,7 +165,7 @@ EXAMPLES = '''
|
||||||
- elb_application_lb:
|
- elb_application_lb:
|
||||||
access_logs_enabled: yes
|
access_logs_enabled: yes
|
||||||
access_logs_s3_bucket: mybucket
|
access_logs_s3_bucket: mybucket
|
||||||
access_logs_s3_prefix: "/logs"
|
access_logs_s3_prefix: "logs"
|
||||||
name: myelb
|
name: myelb
|
||||||
security_groups:
|
security_groups:
|
||||||
- sg-12345678
|
- sg-12345678
|
||||||
|
@ -232,7 +236,7 @@ access_logs_s3_prefix:
|
||||||
description: The prefix for the location in the S3 bucket.
|
description: The prefix for the location in the S3 bucket.
|
||||||
returned: when state is present
|
returned: when state is present
|
||||||
type: str
|
type: str
|
||||||
sample: /my/logs
|
sample: my/logs
|
||||||
availability_zones:
|
availability_zones:
|
||||||
description: The Availability Zones for the load balancer.
|
description: The Availability Zones for the load balancer.
|
||||||
returned: when state is present
|
returned: when state is present
|
||||||
|
|
Loading…
Reference in New Issue