Comments (2)
Thanks for reporting @okeeffed . We have pushed a couple of enhancements which should (hopefully) resolve this issue. Can you please pull the latest
Docker image and give it another try? Please let us know if the problem persists... Thanks for your help!
from aws-cdk-local.
Thanks @whummer ! Pulled the latest and it looks a lot better!
My stack still failed to build but the error looks as if it might be my CDK setup . It is just before 6am here in Aus so I will play around after work today!
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Handling "Add" for resource "BasicRDSExampleMyUserSecretAttachmentRotationSchedule8535F0B4" (5/5) type "AWS::SecretsManager::RotationSchedule" in loop iteration 2
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Handling "Add" for resource "BasicRDSExampleRDSVPCPublicSubnet1RouteTableAssociation369E37D6" (1/4) type "AWS::EC2::SubnetRouteTableAssociation" in loop iteration 3
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Running action "create" for resource type "EC2::SubnetRouteTableAssociation" id "BasicRDSExampleRDSVPCPublicSubnet1RouteTableAssociation369E37D6"
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Request for resource type "EC2::SubnetRouteTableAssociation" in region us-west-1: associate_route_table {'RouteTableId': 'rtb-0f85acb2', 'SubnetId': 'subnet-69508d6e'}
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Extract resource attribute: EC2::SubnetRouteTableAssociation PhysicalResourceId
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Dependencies for "BasicRDSExampleRDSVPCPublicSubnet1RouteTableAssociation369E37D6" not yet satisfied, retrying in next loop: Unable to fetch details for resource "BasicRDSExampleRDSVPCPublicSubnet1RouteTableAssociation369E37D6" (attribute "PhysicalResourceId")
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Handling "Add" for resource "BasicRDSExampleRDSVPCPublicSubnet2RouteTableAssociationA663259D" (2/4) type "AWS::EC2::SubnetRouteTableAssociation" in loop iteration 3
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Running action "create" for resource type "EC2::SubnetRouteTableAssociation" id "BasicRDSExampleRDSVPCPublicSubnet2RouteTableAssociationA663259D"
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Request for resource type "EC2::SubnetRouteTableAssociation" in region us-west-1: associate_route_table {'RouteTableId': 'rtb-0f85acb2', 'SubnetId': 'subnet-2970bfa3'}
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Extract resource attribute: EC2::SubnetRouteTableAssociation PhysicalResourceId
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Dependencies for "BasicRDSExampleRDSVPCPublicSubnet2RouteTableAssociationA663259D" not yet satisfied, retrying in next loop: Unable to fetch details for resource "BasicRDSExampleRDSVPCPublicSubnet2RouteTableAssociationA663259D" (attribute "PhysicalResourceId")
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Handling "Add" for resource "BasicRDSExampleRDSVPCPrivateSubnet1RouteTableAssociation1B3E1389" (3/4) type "AWS::EC2::SubnetRouteTableAssociation" in loop iteration 3
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Running action "create" for resource type "EC2::SubnetRouteTableAssociation" id "BasicRDSExampleRDSVPCPrivateSubnet1RouteTableAssociation1B3E1389"
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Request for resource type "EC2::SubnetRouteTableAssociation" in region us-west-1: associate_route_table {'RouteTableId': 'rtb-0f85acb2', 'SubnetId': 'subnet-f20e17c3'}
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Extract resource attribute: EC2::SubnetRouteTableAssociation PhysicalResourceId
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Dependencies for "BasicRDSExampleRDSVPCPrivateSubnet1RouteTableAssociation1B3E1389" not yet satisfied, retrying in next loop: Unable to fetch details for resource "BasicRDSExampleRDSVPCPrivateSubnet1RouteTableAssociation1B3E1389" (attribute "PhysicalResourceId")
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Handling "Add" for resource "BasicRDSExampleRDSVPCPrivateSubnet2RouteTableAssociation949F3915" (4/4) type "AWS::EC2::SubnetRouteTableAssociation" in loop iteration 3
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Running action "create" for resource type "EC2::SubnetRouteTableAssociation" id "BasicRDSExampleRDSVPCPrivateSubnet2RouteTableAssociation949F3915"
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Request for resource type "EC2::SubnetRouteTableAssociation" in region us-west-1: associate_route_table {'RouteTableId': 'rtb-0f85acb2', 'SubnetId': 'subnet-0f8b357b'}
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Extract resource attribute: EC2::SubnetRouteTableAssociation PhysicalResourceId
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Dependencies for "BasicRDSExampleRDSVPCPrivateSubnet2RouteTableAssociation949F3915" not yet satisfied, retrying in next loop: Unable to fetch details for resource "BasicRDSExampleRDSVPCPrivateSubnet2RouteTableAssociation949F3915" (attribute "PhysicalResourceId")
localstack_1 | 2021-04-21T19:54:37:DEBUG:localstack.utils.cloudformation.template_deployer: Error applying changes for CloudFormation stack "InfraStack": Resource deployment loop completed, pending resource changes: [{'Type': 'Resource', 'ResourceChange': {'Action': 'Add', 'LogicalResourceId': 'BasicRDSExampleRDSVPCPublicSubnet1RouteTableAssociation369E37D6', 'PhysicalResourceId': None, 'ResourceType': 'AWS::EC2::SubnetRouteTableAssociation', 'Replacement': 'False', 'ChangeSetId': None}}, {'Type': 'Resource', 'ResourceChange': {'Action': 'Add', 'LogicalResourceId': 'BasicRDSExampleRDSVPCPublicSubnet2RouteTableAssociationA663259D', 'PhysicalResourceId': None, 'ResourceType': 'AWS::EC2::SubnetRouteTableAssociation', 'Replacement': 'False', 'ChangeSetId': None}}, {'Type': 'Resource', 'ResourceChange': {'Action': 'Add', 'LogicalResourceId': 'BasicRDSExampleRDSVPCPrivateSubnet1RouteTableAssociation1B3E1389', 'PhysicalResourceId': None, 'ResourceType': 'AWS::EC2::SubnetRouteTableAssociation', 'Replacement': 'False', 'ChangeSetId': None}}, {'Type': 'Resource', 'ResourceChange': {'Action': 'Add', 'LogicalResourceId': 'BasicRDSExampleRDSVPCPrivateSubnet2RouteTableAssociation949F3915', 'PhysicalResourceId': None, 'ResourceType': 'AWS::EC2::SubnetRouteTableAssociation', 'Replacement': 'False', 'ChangeSetId': None}}] Traceback (most recent call last):
localstack_1 | File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 1927, in _run
localstack_1 | self.do_apply_changes_in_loop(changes, stack, stack_name)
localstack_1 | File "/opt/code/localstack/localstack/utils/cloudformation/template_deployer.py", line 1988, in do_apply_changes_in_loop
localstack_1 | raise Exception('Resource deployment loop completed, pending resource changes: %s' % changes)
localstack_1 | Exception: Resource deployment loop completed, pending resource changes: [{'Type': 'Resource', 'ResourceChange': {'Action': 'Add', 'LogicalResourceId': 'BasicRDSExampleRDSVPCPublicSubnet1RouteTableAssociation369E37D6', 'PhysicalResourceId': None, 'ResourceType': 'AWS::EC2::SubnetRouteTableAssociation', 'Replacement': 'False', 'ChangeSetId': None}}, {'Type': 'Resource', 'ResourceChange': {'Action': 'Add', 'LogicalResourceId': 'BasicRDSExampleRDSVPCPublicSubnet2RouteTableAssociationA663259D', 'PhysicalResourceId': None, 'ResourceType': 'AWS::EC2::SubnetRouteTableAssociation', 'Replacement': 'False', 'ChangeSetId': None}}, {'Type': 'Resource', 'ResourceChange': {'Action': 'Add', 'LogicalResourceId': 'BasicRDSExampleRDSVPCPrivateSubnet1RouteTableAssociation1B3E1389', 'PhysicalResourceId': None, 'ResourceType': 'AWS::EC2::SubnetRouteTableAssociation', 'Replacement': 'False', 'ChangeSetId': None}}, {'Type': 'Resource', 'ResourceChange': {'Action': 'Add', 'LogicalResourceId': 'BasicRDSExampleRDSVPCPrivateSubnet2RouteTableAssociation949F3915', 'PhysicalResourceId': None, 'ResourceType': 'AWS::EC2::SubnetRouteTableAssociation', 'Replacement': 'False', 'ChangeSetId': None}}]
localstack_1 |
localstack_1 | 2021-04-21T19:55:23:INFO:postgresql_proxy.proxy: postgresql_1 connection closing ('127.0.0.1', 44972)
Leaving closed giving that I think the reported problem is resolved. Thanks for getting back so fast 🙏
from aws-cdk-local.
Related Issues (20)
- Potentially cached values in cdk.context.json can break deployments HOT 4
- Bootstrap Error Stack with id %s does not exist CDKToolkit HOT 4
- [PRO] public subnets is not created HOT 5
- App deploys with cdk v2 but unable to run cdklocal. Error: Cannot find module 'aws-cdk/lib/api/aws-auth' HOT 1
- Queue.fromArn breaks the queueUrl resolution HOT 2
- DatabaseCluster.clusterEndpoint.hostname does not respect LOCALSTACK_HOSTNAME HOT 1
- Multi-account with LocalStack PRO and cdklocal does not honor the custom account ID HOT 5
- cdklocal deploy : unable to figure out localstack presence, building stacks is failing HOT 8
- sample-app failes to create SNS listener HOT 2
- Environment aws://00000000000/eu-central-1 failed bootstrapping: UnknownEndpoint: Inaccessible host: `localhost' at port `4566'. This service may not be available in the `eu-central-1' region. HOT 2
- Cdklocal explodes if no AWS profile is set HOT 3
- SNS Filters not honoring Message Body Filter
- Missing dependency on aws-cdk in package.json HOT 2
- Passing along flags to cdk deploy (--no-fail-on-empty-changeset) HOT 2
- Cognito stack fails for Default Authenticated role for Identity Pool HOT 3
- Cdklocal bootstrap fails with "The repository name already exists in the registry" HOT 1
- S3 bucket.add_event_notification() does not deploy - No resource provider found for "Custom::S3BucketNotifications" HOT 7
- Deploy API GW with a Simple Lambda Fails HOT 1
- Error: Cannot find module 'aws-cdk/lib/api/aws-auth' when using CDK installed with homebrew HOT 5
- `cdklocal bootstrap` command fails HOT 7
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 aws-cdk-local.