Skip to content

Commit

Permalink
docs: fix wrong documentation (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
azrod authored Jan 31, 2024
1 parent 7648856 commit 4c43cde
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
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}/*",
]
}
]
})
}
}

0 comments on commit 4c43cde

Please sign in to comment.