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

chore(cloudformation-include): add getResourceNames() to CfnInclude #31520

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

StNekroman
Copy link

Reason for this change

CfnInclude has method to get resource, but no method to list all available resources from the template.
Thus I was forced to use dirty hack (non-TS way) to bypass this.
Wil be used here: https://github.com/StNekroman/aws-lambda-resource-remap/blob/44dde671b289f45880e37ce3f8ee95d9e9764f39/src/index.ts#L58

Description of changes

Just added new method to expose resource names via TS api.

@github-actions github-actions bot added p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Sep 22, 2024
@aws-cdk-automation aws-cdk-automation requested a review from a team September 22, 2024 13:20
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.

A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed add Clarification Request to a comment.

@StNekroman StNekroman changed the title feat(cloudformation-include): add getResourceNames() to CfnInclude fix(cloudformation-include): add getResourceNames() to CfnInclude Sep 22, 2024
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: e1538bc
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@StNekroman StNekroman changed the title fix(cloudformation-include): add getResourceNames() to CfnInclude chore(cloudformation-include): add getResourceNames() to CfnInclude Sep 22, 2024
@aws-cdk-automation aws-cdk-automation dismissed their stale review September 22, 2024 16:07

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants