(code_pipeline_actions): Access to variables in CodeStarConnectionsSourceAction
See original GitHub issueDescription
Ability to use variables
similarly to what is now available in GithubSourceAction.
Use Case
Using bitbucket and recommended CodeStarConnectionsSourceAction I’d like access commit id of the particular source and use it to tag AMI build further down in the pipeline.
Proposed Solution
?
Other information
cdk-version: 1.134.0
Acknowledge
- I may be able to implement this feature request
- This feature might incur a breaking change
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
CodeStarSourceConnection for Bitbucket, GitHub, and GitHub ...
The source action retrieves code changes when a pipeline is manually run or when a webhook ... you must authorize CodePipeline access to...
Read more >@aws-cdk/aws-codepipeline-actions - npm
Start using @aws-cdk/aws-codepipeline-actions in your project by running `npm i ... A GitHub Access Token, with scopes repo and admin:repo_hook.
Read more >Variables - Amazon CodePipeline - 亚马逊云科技
Variables allow you to configure your pipeline actions with values that are determined at the time of the action execution. Variables can be...
Read more >awscodepipelineactions - Go Packages
This package contains Actions that can be used in a CodePipeline. ... if your stack template contains AWS Identity and Access Management (IAM)...
Read more >CodeStarConnectionsSourceAction.Builder (software.amazon ...
software.amazon.awscdk.services.codepipeline.actions. ... created in the AWS console that has permissions to access this GitHub or BitBucket repository.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I will certainly try but I cannot give any ETA on this so if anyone can jump in, all the better.
Yep! Just pass the
variableNamespace
property when creating theCodeStarConnectionsSourceAction
, and then use the syntax"#{MyVariableNamespace.CommitId}"
in another Action’s definition (like CodeBuild Action’s environment variable).