Giter Club home page Giter Club logo

Comments (5)

raresboboc avatar raresboboc commented on August 13, 2024 1

This is a default quota from AWS for new accounts. Try to reach AWS Support and they will help you. https://repost.aws/questions/QUNe84jgBRQ9G5ACLDUzCt4w/free-tier-accounts-code-build-stops-after-45-min

from landing-zone-accelerator-on-aws.

crissupb avatar crissupb commented on August 13, 2024

Which stage or stages are timing out?

from landing-zone-accelerator-on-aws.

MigueAngelRamirez avatar MigueAngelRamirez commented on August 13, 2024

hello @crissupb thanks for the question.

we are trying to deploy the tse-se architecture and our CodeBuild job “AWSAccelerator-ToolkitProject:'ID'” had failed at Stage "Deploy" step "network-associations" due to the build timeout which had happened at 45 minutes.

we set the project timeout value to 8 hours however when we start a build, the project level build timeout setting of 8 hour was not being applied to the individual builds, instead it was defaulting to 45 minutes.

We are trying to deploy a Shared Network Configuration with 3 Accounts, One Account is our Shared Services Account, which deploy a MAD and shared the directory with the other 2 Accounts.

This takes more than 45 min but because of the build Timeout the pipeline fails and rollback the cloudformation stack.

from landing-zone-accelerator-on-aws.

hickeydh-aws avatar hickeydh-aws commented on August 13, 2024

Hello @MigueAngelRamirez please let us know if you are still experiencing problems with CodeBuild timeouts. @rboboc111 Thank you for the possible solution!

In the meantime, our team will evaluate the feature request to increase the default CodeBuild timeout.

from landing-zone-accelerator-on-aws.

MigueAngelRamirez avatar MigueAngelRamirez commented on August 13, 2024

hey @hickeydh-aws,
we try to deploy the LZA TSE-SE sample architecture but this solution was failing on the Network_Associations_Config step of the Deploy stage.

We found out that the Managed Active Directory instance did not receive the resource signals in time, which cause the CodeBuild Timeout.

The instance profile tried to make a GetSecretValue call. However, it was being denied by a service control policy AWSAccelerator-Quarantine-New-Object.

We solved this by adding the EC2-Default-SSM-AD-Role to the policy document to successfully deploy the architecture.

{ "Version": "2012-10-17", "Statement": [ { "Sid": "DenyAllAWSServicesExceptBreakglassRoles", "Effect": "Deny", "Action": "*", "Resource": "*", "Condition": { "ArnNotLike": { "aws:PrincipalARN": [ "arn:${PARTITION}:iam::*:role/${MANAGEMENT_ACCOUNT_ACCESS_ROLE}", "arn:${PARTITION}:iam::*:role/aws*", "arn:${PARTITION}:iam::*:role/AWSA*", "arn:${PARTITION}:iam::*:role/cdk-accel-*", "arn:${PARTITION}:iam::*:role/EC2-Default-SSM-AD-Role" ] } } } ] }

Thanks

from landing-zone-accelerator-on-aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.