fix(codepipeline): set correct prop names for KMS key#2517
Closed
CaerusKaru wants to merge 1 commit intoaws:masterfrom
Closed
fix(codepipeline): set correct prop names for KMS key#2517CaerusKaru wants to merge 1 commit intoaws:masterfrom
CaerusKaru wants to merge 1 commit intoaws:masterfrom
Conversation
It seems like this might actually be a bug in the serialization generator, since the return object doesn't require this to generate the correct Cfn syntax Not sure where to look for that though. In the meantime, this fixes the issue where Cfn will spit out an error for `Encountered unsupported property type`
Contributor
|
Thanks for the contribution @CaerusKaru , but this is not the correct solution. See the CI error: |
Contributor
Author
|
@skinny85 Can you advise on the correct solution? There is clearly a bug, but I genuinely think that it's in the serialization, and not here (as CI clearly shows). |
Contributor
|
Please wait until #2576 has been applied and see if the error still persists. |
Contributor
|
Any updates on this? |
Contributor
|
I'm going to close this, as #3694 addresses the issue this PR was opened for. |
Contributor
Pull Request Checklist
|
Contributor
|
Codebuild (Continuous Integration) build failed for current commits. Please check log and resolve before PR is merged. |
Contributor
|
Title does not follow the guidelines of Conventional Commits. Please adjust title before merge. |
skinny85
added a commit
that referenced
this pull request
Sep 11, 2019
This changes the scaffolding stack logic for the cross-region CodePipelines to include a KMS key and alias as part of it, which are required if an action is simultaneously cross-region and cross-account. We also change to use the KMS key ID instead of the key ARN when rendering the ArtifactStores property. We also add an alias to the default pipeline artifact bucket. This required a bunch of changes to the KMS and S3 modules: * Alias now implements IKey * Added the keyId property to IKey * Added removalPolicy property to Alias * Granting permissions to a key works if the principal belongs to a stack that is a dependent of the key stack * Allow specifying a key when importing a bucket Fixes #52 Concerns #1584 Fixes #2517 Fixes #2569 Concerns #3275 Fixes #3138 Fixes #3388
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It seems like this might actually be a bug in the serialization
generator, since the return object doesn't require this to generate
the correct Cfn syntax
Not sure where to look for that though. In the meantime, this fixes
the issue where Cfn will spit out an error for
Encountered unsupported property typePull Request Checklist
designfolderBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.