Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix wrong documentation #713

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/680.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:note
`resource/cloudavenue_s3_bucket_policy` - Fix wrong example in documentation.
```
3 changes: 3 additions & 0 deletions .changelog/712.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
`resource/cloudavenue_s3_bucket_policy` - Fix custom timeout is not applied.
```
4 changes: 2 additions & 2 deletions docs/resources/s3_bucket_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ resource "cloudavenue_s3_bucket_policy" "example" {
"s3:ListBucketVersions",
]
Resource = [
data.cloudavenue_s3_bucket.example.arn,
"${data.cloudavenue_s3_bucket.example.arn}/*",
"arn:aws:s3:::${data.cloudavenue_s3_bucket.example.name}",
"arn:aws:s3:::${data.cloudavenue_s3_bucket.example.name}/*",
]
}
]
Expand Down
6 changes: 3 additions & 3 deletions examples/resources/cloudavenue_s3_bucket_policy/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ resource "cloudavenue_s3_bucket_policy" "example" {
"s3:ListBucketVersions",
]
Resource = [
data.cloudavenue_s3_bucket.example.arn,
"${data.cloudavenue_s3_bucket.example.arn}/*",
"arn:aws:s3:::${data.cloudavenue_s3_bucket.example.name}",
"arn:aws:s3:::${data.cloudavenue_s3_bucket.example.name}/*",
]
}
]
})
}
}