Skip to content
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

feat!: add website segmentation #297

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bruno561
Copy link

Adding the ability to segment website configurations by buckets

#294

@bruno561
Copy link
Author

bruno561 commented Feb 3, 2024

Review, please?

Copy link

github-actions bot commented Apr 3, 2024

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Apr 3, 2024
@bharathkkb bharathkkb removed the Stale label Apr 4, 2024
Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @bruno561

@@ -243,9 +243,12 @@ variable "cors" {
}

variable "website" {
type = map(any)
type = map(object({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC now we will specify a map of bucket-names to configuration object? Could we provide a special key like all to ease the transition for users who want to use historical behavior? It would also be good to capture this in an upgrade guide https://github.com/terraform-google-modules/terraform-google-cloud-storage/tree/master/docs

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bharathkkb If I'm not mistaken, if we use all it could break depending on the configuration the user enters.

@bharathkkb bharathkkb changed the title chore: add website segmentation feat!: add website segmentation Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants