- Add documentation regarding restrictions on access_logs_s3_prefix (cannot have a leading or trailing slash)
(cherry picked from commit 698d2454c7
)
This commit is contained in:
parent
1f84c4982f
commit
91bf8402d1
1 changed files with 8 additions and 4 deletions
|
@ -35,12 +35,16 @@ options:
|
|||
type: bool
|
||||
access_logs_s3_bucket:
|
||||
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.
|
||||
required: false
|
||||
access_logs_s3_prefix:
|
||||
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
|
||||
deletion_protection:
|
||||
description:
|
||||
|
@ -161,7 +165,7 @@ EXAMPLES = '''
|
|||
- elb_application_lb:
|
||||
access_logs_enabled: yes
|
||||
access_logs_s3_bucket: mybucket
|
||||
access_logs_s3_prefix: "/logs"
|
||||
access_logs_s3_prefix: "logs"
|
||||
name: myelb
|
||||
security_groups:
|
||||
- sg-12345678
|
||||
|
@ -232,7 +236,7 @@ access_logs_s3_prefix:
|
|||
description: The prefix for the location in the S3 bucket.
|
||||
returned: when state is present
|
||||
type: str
|
||||
sample: /my/logs
|
||||
sample: my/logs
|
||||
availability_zones:
|
||||
description: The Availability Zones for the load balancer.
|
||||
returned: when state is present
|
||||
|
|
Loading…
Reference in a new issue