-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: removing of the deprecated S3 analytics bucket #204
fix: removing of the deprecated S3 analytics bucket #204
Conversation
analytics-data-lake_bucket
from terra…There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will this work? looks like on line 7 we're referrencing the resource being removed. I think we should remove everything related to the analytics-data-lake_bucket
terraform/analytics/main.tf
Outdated
resource "aws_s3_bucket" "analytics-data-lake_bucket" { | ||
bucket = "walletconnect.${var.app_name}.${var.environment}.analytics.data-lake" | ||
} | ||
|
||
resource "aws_s3_bucket_acl" "analytics-data-lake_acl" { | ||
bucket = aws_s3_bucket.analytics-data-lake_bucket.id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aws_s3_bucket
here refers to the resource you deleted. I believe this will fail to apply
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've missed the elephant in the room 🤦🏻
I've missed the elephant in the room 🤦🏻 I've updated this PR with the rest. Also, |
Description
Removing deprecated AWS S3 bucket and config from the Terraform analytics.
This fixing the applying error because we were moved to a single data lake bucket (prev #159).
The bucket was removed from the data lake itself in the PR #517.
Resolves #203
Tested locally only by validation check
terraform validate
.Due Diligence