Closed djelusic closed 2 years ago
Related to #39
I’ve removed bucket_prefix’ from public site bucket. Workspace uid is used instead of generating suffix randomly through terraform.
Since Daniel moved all public sites to one bucket, it’s name is now ‘mantil-public-{project}-{stage}-{workspace uid}’.
I think we should avoid all namings created through terraform since they have their own limits separate from names of resources, like bucket prefix limit of 37 characters in this case which would leave very little space for project and stage names and it’s hard to keep track of various different limits.
This was the only case where such naming was used so I don’t think this issue is necessary anymore since it will be fixed through #39 once we limit all names to 64 characters.
One example is when trying to create buckets for public sites: