Override S3 Auth Public Policy on init
#13619
Labels
feature-request
Request a new feature
platform-init
Issues related to initializing a new Amplify project
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
20.11.1
Amplify CLI Version
12.10.1
What operating system are you using?
Ubuntu & Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made.
Describe the bug
When using
amplify init
to create a new project, the process fails because ofControlTower::Guard::Hook
failure. This failure is caused by Control Tower enforcing pre-provisioning rules on the creation of S3 buckets. The result is that Cloudformation is unable to create the S3 deployment bucket needed, which results in the entire Stack breaking.As a result, the
amplify init
process fails before it creates a local backend folder. Since it never creates a local back-end folder, I am unable to manually make changes to the backend configuration as recommended in #8894.Below is the Hook Status Message that causes the failure:
Expected behavior
Generate the configuration for
amplify init
locally to allow for customization of the settings. Alternatively, provide a mechanism by which I can override the default S3 configuration to deal with the error. For reasons outside of my control, I am unable to change the ControlTower settings.Reproduction steps
amplify init
Project Identifier
Cannot run
amplify diagnose
because there was no backend created.Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: