Comments (4)
Hello @bhkhatri221 , thank you for response. The pipeline was able to complete successfully by following the workaround steps above. I also had no issues as well after removing the environmental variable and gave the pipeline a dry run. Thanks again for your assistance.
from landing-zone-accelerator-on-aws.
Hello @adeolaolawuyi, thank you for filing an issue with the Landing Zone Accelerator team!
The issue you're facing could be due to the policy being deleted and recreated, which generated a different ID, causing the Finalize stack to become unsynchronized. A similar issue has been reported before.
To better assist you with this issue, please provide the following information:
- Did this issue start during the upgrade process?
- What versions of the solution are you upgrading from and to?
- Were there any manual modifications of SCPs ?
Thanks, and we look forward to hearing back from you!
from landing-zone-accelerator-on-aws.
Hi @bhkhatri221, thank you for your response.
Just to confirm the issue did not start during the LZA upgrade process.
The Accounts stack was failing to update and could not rollback. Then I tried to delete the stack, which could not delete because of the SCP resources, the SCP resources was skipped but it still ended up deleting the SCPs as part of the process. A rerun of the Accounts stage recreated the stack and the SCP resources again.
The current version we are using is v.1.8.1 and there was no manual modifications to SCPs.
from landing-zone-accelerator-on-aws.
Hello @adeolaolawuyi , thank you for additional information.
LZA expects the policy to have been created in a previous execution. The solution creates a hash of the policy files and only create or update the policies if the policy has changed. Since the policy hasn't changed, the custom resource that would create the policy is not being called in the accounts stack. To force the policy to be created or updated, you can add an environment variable to the CodeBuild project, which will force the custom resource to be executed. Here are the steps to create the environment variable:
- Navigate to CodeBuild and go to the Build projects.
- Find the project where the name ends in 'ToolkitProject'.
- Select the project and click on the 'Edit' button.
- Scroll down to the Environment section and expand the 'Additional configuration' section.
- The name of the variable will be 'ACCELERATOR_FORCED_UPDATE' set the value to 'true'.
- Scroll down and click on the 'Update project' button.
Once the environment variable has been added. release the LZA pipeline. After the pipeline has executed successfully the environment variable can be removed or set the value to 'false'.
I hope this was helpful ! Let us know if this workaround works for you and if you have any further questions.
from landing-zone-accelerator-on-aws.
Related Issues (20)
- Network-Association error when deploying third party firewall
- Enable AWS SSM Quick Setup in Organization Config
- CodeBuild operational notification 29 August 2024 HOT 1
- Native support for a TLS Inspection Configuration class in the network-config.yaml file HOT 1
- Native support to supply a TLS Inspection Configuration ARN to a property of the NfwFirewallPolicyConfig Class NfwFirewallPolicyConfig HOT 1
- https://registry.yarnpkg.com/ return empty JSON and causing Build stage to fail
- LZA Validator : Detect duplicate named resources
- feat: Add option to auto-deploy from S3
- feat: Provide inital IAM IC user
- bug: Accounts pipeline often times out
- bug: Build doesn't detect version correctly HOT 5
- feat: Manage GuardDuty Lambda protection
- feat: Manage GuardDuty RDS protection
- feat: Bump JS SDK to v3
- Use existing configuration with S3 instead of CodeCommit within LZA CloudFormation installer template HOT 2
- Clarity on opt-in regions for individual account
- bug: LZA Validator is stuck? HOT 1
- Prepare Stage Fails with Control Tower launch issues
- Secret created for the break-glass user does not use CMK and is not rotated
- feat: Support for transit gateway peering to external/non-LZA transit gateways HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from landing-zone-accelerator-on-aws.