Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-s3-bucket
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-s3-bucket
Commits
f3f8fe50
Unverified
Commit
f3f8fe50
authored
Aug 17, 2020
by
Karan Thanvi
Committed by
GitHub
Aug 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Using required arguments instead of lookup in replication_configuration (#35)
parent
0e53fa7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main.tf
main.tf
+2
-2
No files found.
main.tf
View file @
f3f8fe50
...
@@ -117,13 +117,13 @@ resource "aws_s3_bucket" "this" {
...
@@ -117,13 +117,13 @@ resource "aws_s3_bucket" "this" {
id
=
lookup
(
rules
.
value
,
"id"
,
null
)
id
=
lookup
(
rules
.
value
,
"id"
,
null
)
priority
=
lookup
(
rules
.
value
,
"priority"
,
null
)
priority
=
lookup
(
rules
.
value
,
"priority"
,
null
)
prefix
=
lookup
(
rules
.
value
,
"prefix"
,
null
)
prefix
=
lookup
(
rules
.
value
,
"prefix"
,
null
)
status
=
lookup
(
rules
.
value
,
"status"
,
null
)
status
=
rules
.
value
.
status
dynamic
"destination"
{
dynamic
"destination"
{
for_each
=
length
(
keys
(
lookup
(
rules
.
value
,
"destination"
,
{}
)))
==
0
?
[]
:
[
lookup
(
rules
.
value
,
"destination"
,
{}
)
]
for_each
=
length
(
keys
(
lookup
(
rules
.
value
,
"destination"
,
{}
)))
==
0
?
[]
:
[
lookup
(
rules
.
value
,
"destination"
,
{}
)
]
content
{
content
{
bucket
=
lookup
(
destination
.
value
,
"bucket"
,
null
)
bucket
=
destination
.
value
.
bucket
storage_class
=
lookup
(
destination
.
value
,
"storage_class"
,
null
)
storage_class
=
lookup
(
destination
.
value
,
"storage_class"
,
null
)
replica_kms_key_id
=
lookup
(
destination
.
value
,
"replica_kms_key_id"
,
null
)
replica_kms_key_id
=
lookup
(
destination
.
value
,
"replica_kms_key_id"
,
null
)
account_id
=
lookup
(
destination
.
value
,
"account_id"
,
null
)
account_id
=
lookup
(
destination
.
value
,
"account_id"
,
null
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment