Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resources created by CDK missing in console #8346

Closed
eiva opened this issue Jun 3, 2020 · 6 comments
Closed

Resources created by CDK missing in console #8346

eiva opened this issue Jun 3, 2020 · 6 comments
Assignees
Labels
blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. bug This issue is a bug. needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. package/tools Related to AWS CDK Tools or CLI

Comments

@eiva
Copy link

eiva commented Jun 3, 2020

Not sure who is responsible for this bug: CloudFormation or CDK, but this is super annoying:

CDK runs into permanent state when any creation of resource with name reported as Successful while there is no any resource is created.

Reproduction Steps

  1. Define Activity CDK (also works for IAM roles, StepFunctions):
    val activity = Activity.Builder.create(this, "FirstName").activityName("FirstName").build()
    
    Make sure that deployment passed correctly and there activity is actually exists
  2. Delete it from CDK
    Make sure that CF report that deletion succeeded.
    Verify that resource is actually gone.
  3. Add it back
    val activity = Activity.Builder.create(this, "FirstName").activityName("FirstName").build()
    
    Run deployment
    Check console:
     9/44 | 4:25:25 PM | CREATE_COMPLETE      | AWS::StepFunctions::Activity     | FirstName (FirstName306E36D3)
    
    • Open CloudFormation template and see: CREATE_COMPLETE
      Check that there is everything green in event log - all green and reports as resource creted.
    • Click on Physical ID and enjoy 404 resource not found.
    • Check that there is no anything in activities list.
  4. Try to delete, change properties etc runs into error that there is no such resource.

Error Log

No errors. All Green.
Resource is not created.

Environment

  • CLI Version : 1.23?
  • Framework Version: 1.23
  • Node.js Version: 12.18.0
  • OS : linux
  • Language (Version): Java (8)

Other


This is 🐛 Bug Report

@eiva eiva added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jun 3, 2020
@eiva
Copy link
Author

eiva commented Jun 3, 2020

Additional observation: If I use Cfn* analog (not high level CDK) I unable to reproduce same problem.

@SomayaB SomayaB added the package/tools Related to AWS CDK Tools or CLI label Jun 5, 2020
@am29d
Copy link

am29d commented Jun 15, 2020

The resource link for an Activity in CloudFormation console is pointing to "Tasks" which redirects to the service /homepage.

The resource id link is:

https://eu-central-1.console.aws.amazon.com/states/home?region=eu-central-1#/tasks

but it should be

https://eu-central-1.console.aws.amazon.com/states/home?region=eu-central-1#/activities

Apart from that I could not reproduce the issue in my build, used same version, just running on macOs Catalina. I could see the activity in stepfunctions console and fetch the list via aws cli :/

@shivlaks shivlaks added guidance Question that needs advice or information. and removed bug This issue is a bug. labels Jul 29, 2020
@shivlaks
Copy link
Contributor

@am29d thanks for logging this issue! I don't believe this is a CDK bug as it appears to be an incorrect link generated in the CloudFormation console.

I'll find the stakeholders that can address this issue. For now I'm marking this as guidance instead of a bug.

@SomayaB SomayaB removed the needs-triage This issue or PR still needs to be triaged. label Jul 30, 2020
@SomayaB SomayaB added blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. and removed needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. labels Sep 3, 2020
@kellertk kellertk added bug This issue is a bug. needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. and removed guidance Question that needs advice or information. labels Sep 10, 2020
@PatMyron
Copy link
Contributor

PatMyron commented Sep 29, 2020

aws-cloudformation/cloudformation-coverage-roadmap#139 if this is just an incorrect CloudFormation console link

@NGL321 NGL321 assigned rix0rrr and unassigned shivlaks Jan 25, 2021
@rix0rrr
Copy link
Contributor

rix0rrr commented Jan 26, 2021

Not really actionable for us. Sorry.

@rix0rrr rix0rrr closed this as completed Jan 26, 2021
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Work is blocked on this issue for this codebase. Other labels or comments may indicate why. bug This issue is a bug. needs-cfn This issue is waiting on changes to CloudFormation before it can be addressed. package/tools Related to AWS CDK Tools or CLI
Projects
None yet
Development

No branches or pull requests

7 participants