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

fix(iot1click): incorrect type for Project.deviceTemplates #8000

Merged
merged 4 commits into from
May 15, 2020

Conversation

RomainMuller
Copy link
Contributor

@RomainMuller RomainMuller commented May 15, 2020

Commit Message

fix(iot1click): incorrect type for Project.deviceTemplates (#8000)

The Project.deviceTemplate had a cfnspec patch to an incorrect type,
accepting a single DeviceTemplate instance instead of a map of a template
name to the corresponding DeviceTemplate instance.

This replaces the patch with the appropriate value.

Fixes #8001

End Commit Message


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

The `Project.deviceTemplate` was patched to an incorrect type, accepting
a single `DeviceTemplate` instance instead of a map of a template name
to the corresponding `DeviceTemplate` instance.

This replaces the patch with the appropriate value.
@RomainMuller RomainMuller added bug This issue is a bug. effort/small Small work item – less than a day of effort @aws-cdk/aws-iot1click Related to AWS IoT 1-Click @aws-cdk/cfnspec labels May 15, 2020
@RomainMuller RomainMuller self-assigned this May 15, 2020
@RomainMuller RomainMuller requested a review from a team May 15, 2020 13:20
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label May 15, 2020
@RomainMuller RomainMuller added the pr-linter/exempt-test The PR linter will not require test changes label May 15, 2020
@RomainMuller RomainMuller added the pr/do-not-merge This PR should not be merged at this time. label May 15, 2020
@RomainMuller RomainMuller removed the pr/do-not-merge This PR should not be merged at this time. label May 15, 2020
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: c7b25f6
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 84d9cc4
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Contributor

mergify bot commented May 15, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: ee64173
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: dc2ea68
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify
Copy link
Contributor

mergify bot commented May 15, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 338ef92 into master May 15, 2020
@mergify mergify bot deleted the rmuller/fix-iot1click branch May 15, 2020 15:07
karupanerura pushed a commit to karupanerura/aws-cdk that referenced this pull request May 22, 2020
The `Project.deviceTemplate` had a `cfnspec` patch to an incorrect type,
accepting a single `DeviceTemplate` instance instead of a map of a template
name to the corresponding `DeviceTemplate` instance.

This replaces the patch with the appropriate value.

Fixes aws#8001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-iot1click Related to AWS IoT 1-Click @aws-cdk/cfnspec bug This issue is a bug. contribution/core This is a PR that came from AWS. effort/small Small work item – less than a day of effort pr-linter/exempt-test The PR linter will not require test changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deviceTemplates definition in Cfnproject class for @aws-cdk/aws-iot1click
4 participants