mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Merge pull request #1144 from Hestia-Homes/feature/landlord_data
if you change the descript it destories and make a new one instead of…
This commit is contained in:
commit
feb3bc08f0
1 changed files with 6 additions and 2 deletions
|
|
@ -512,8 +512,12 @@ module "landlord_description_overrides_registry" {
|
|||
module "landlord_overrides_s3_read" {
|
||||
source = "../modules/s3_iam_policy"
|
||||
|
||||
policy_name = "LandlordOverridesReadS3"
|
||||
policy_description = "Allow landlord description overrides Lambda to read the original upload CSV from retrofit-plan-inputs (and retrofit-data) bucket"
|
||||
policy_name = "LandlordOverridesReadS3"
|
||||
# NOTE: aws_iam_policy.description is ForceNew — changing it destroys+recreates the
|
||||
# policy, which deadlocks because the policy is attached to the lambda role in the
|
||||
# separate landlordDescriptionOverrides stack (DeleteConflict). Keep this string
|
||||
# byte-for-byte identical to what's in state so the bucket change applies in-place.
|
||||
policy_description = "Allow landlord description overrides Lambda to read from retrofit-data bucket"
|
||||
bucket_arns = [
|
||||
"arn:aws:s3:::retrofit-plan-inputs-${var.stage}",
|
||||
"arn:aws:s3:::retrofit-data-${var.stage}",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue