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
895cfa52
Unverified
Commit
895cfa52
authored
Apr 02, 2022
by
Jay Bendon
Committed by
GitHub
Apr 02, 2022
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Add lifecycle ignore changes on s3_bucket resource to prevent configuration loop (#145)
parent
1ae31acf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
main.tf
main.tf
+17
-0
No files found.
main.tf
View file @
895cfa52
...
@@ -28,6 +28,23 @@ resource "aws_s3_bucket" "this" {
...
@@ -28,6 +28,23 @@ resource "aws_s3_bucket" "this" {
object_lock_enabled
=
"Enabled"
object_lock_enabled
=
"Enabled"
}
}
}
}
lifecycle
{
ignore_changes
=
[
acceleration_status
,
acl
,
grant
,
cors_rule
,
lifecycle_rule
,
logging
,
object_lock_configuration
[
0
]
.
rule
,
replication_configuration
,
request_payer
,
server_side_encryption_configuration
,
versioning
,
website
]
}
}
}
resource
"aws_s3_bucket_logging"
"this"
{
resource
"aws_s3_bucket_logging"
"this"
{
...
...
Jose Ernesto Suarez
@ernesto
mentioned in commit
6a913ee2
·
Dec 30, 2022
mentioned in commit
6a913ee2
mentioned in commit 6a913ee284264b09c7edecdad23775a513014f08
Toggle commit list
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