Skip to content

Commit 542e62e

Browse files
committed
Add docs warning
1 parent e1d7b53 commit 542e62e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

website/docs/actions/cloudfront_create_invalidation.html.markdown

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ description: |-
1010

1111
Invalidates CloudFront distribution cache for specified paths. This action creates an invalidation request and waits for it to complete.
1212

13-
For information about CloudFront cache invalidation, see the [Amazon CloudFront Developer Guide][1]. For specific information about creating invalidation requests, see the [CreateInvalidation][2] page in the Amazon CloudFront API Reference.
13+
For information about CloudFront cache invalidation, see the [Amazon CloudFront Developer Guide](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html). For specific information about creating invalidation requests, see the [CreateInvalidation](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateInvalidation.html) page in the Amazon CloudFront API Reference.
1414

15-
~> **NOTE:** CloudFront invalidation requests can take several minutes to complete. This action will wait for the invalidation to finish before continuing. You can only have a limited number of invalidation requests in progress at any given time.
15+
~> **Note:** Terraform Actions are currently in **beta.** The interface and behavior may change as the feature evolves, and breaking changes are possible. While Actions can unlock powerful Day-2 workflows, please use them with care in production environments and be aware that stability is not yet guaranteed.
16+
17+
~> **Note:** CloudFront invalidation requests can take several minutes to complete. This action will wait for the invalidation to finish before continuing. You can only have a limited number of invalidation requests in progress at any given time.
1618

1719
## Example Usage
1820

@@ -127,10 +129,7 @@ action "aws_cloudfront_create_invalidation" "env_specific" {
127129

128130
This action supports the following arguments:
129131

130-
* `distribution_id` - (Required) The ID of the CloudFront distribution to invalidate cache for. Must be a valid CloudFront distribution ID (e.g., E1GHKQ2EXAMPLE).
132+
* `distribution_id` - (Required) ID of the CloudFront distribution to invalidate cache for. Must be a valid CloudFront distribution ID (e.g., E1GHKQ2EXAMPLE).
131133
* `paths` - (Required) List of file paths or patterns to invalidate. Use `/*` to invalidate all files. Supports specific files (`/index.html`), directory wildcards (`/images/*`), or all files (`/*`). Maximum of 3000 paths per invalidation request. Note: The first 1,000 invalidation paths per month are free, additional paths are charged per path.
132134
* `caller_reference` - (Optional) Unique identifier for the invalidation request. If not provided, one will be generated automatically. Maximum length of 128 characters.
133135
* `timeout` - (Optional) Timeout in seconds to wait for the invalidation to complete. Defaults to 900 seconds (15 minutes). Must be between 60 and 3600 seconds. Invalidation requests typically take 5-15 minutes to process.
134-
135-
[1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html
136-
[2]: https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CreateInvalidation.html

0 commit comments

Comments
 (0)