Comments (4)
No, it is not supported in the modules but only on individual resources, and it is not possible to use any variables there.
https://www.terraform.io/docs/language/meta-arguments/lifecycle.html#prevent_destroy
from terraform-aws-s3-bucket.
Duplicate.
terraform-aws-modules/terraform-aws-dynamodb-table#33 (comment)
from terraform-aws-s3-bucket.
lifecycle {
prevent_destroy = true
}
Can I pass this to the module ?
from terraform-aws-s3-bucket.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
from terraform-aws-s3-bucket.
Related Issues (20)
- error creating S3 bucket ACL for: AccessDenied: Access Denied HOT 30
- S3 bucket notification to Lambda HOT 5
- Bad repo issue HOT 2
- Getting Error: Cycle: when local.attach_policy is true HOT 3
- example for BucketOwnerEnforced (disabled ACLs) HOT 3
- Enabling attach_access_log_delivery_policy without any other attach arguments fails to attach a bucket policy HOT 4
- Inappropriate value for attribute "days": a number is required HOT 3
- support cross account lambda triggering for s3 notifications HOT 3
- CORS rules configuration on a new S3 bucket fails HOT 3
- Default tags are not being applied HOT 2
- `bucket` values are `known after apply` HOT 11
- The empty filter of an aws_s3_bitbucket_lifecycle_configuration is not persisted by AWS when you edit the lifecycle configuration. HOT 3
- Missing China regions in elb_service_accounts HOT 3
- Tags are not applying correctly. HOT 5
- [Bug]: aws_s3_bucket_website_configuration always makes a change when optional routing_rules.condition is absent HOT 1
- Add more information about Canned ACLs to documentation HOT 3
- notification wrapper submodule `Invalid for_each argument` error HOT 5
- Add IAM conditionals to s3 bucket policy (aws:SourceARN, aws:SourceAccount, etc) HOT 3
- Enforce random suffix for S3 bucket names to enhance security HOT 2
- 'public-read' ACL failing due 403 error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-s3-bucket.