Skip to content

Non-interactively select language plugin for CI - #360

Merged
tobywf merged 1 commit into
aws-cloudformation:masterfrom
tobywf:language-select
Dec 2, 2019
Merged

tobywf merged 1 commit into
aws-cloudformation:masterfrom
tobywf:language-select

Conversation

@tobywf

@tobywf tobywf commented Nov 29, 2019 •

Copy link
Copy Markdown
Contributor

Issue #, if available: N/A

Description of changes: With CI that can run against different langauge versions, it will be more important to be able to accurately select the language version. The current approach of echoing the choice is a bit brittle.

$ cfn init --language "python37"
Initializing new project
What's the name of your resource type?
(Organization::Service::Resource)
>> AWS::Foo::Bar
Language plugin 'python37' selected non-interactively

This change also ensures plugin choice list is deterministically sorted and updates some Lambda runtimes.

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

Also ensure plugin choice list is deterministically sorted and update some Lambda runtimes.
@tobywf tobywf added the enhancement New feature or request label Nov 29, 2019
@tobywf tobywf self-assigned this Nov 29, 2019
@tobywf tobywf changed the title Non-interactively select languge plugin for CI Non-interactively select language plugin for CI Nov 29, 2019
@tobywf
tobywf merged commit 0af075d into aws-cloudformation:master Dec 2, 2019
@tobywf
tobywf deleted the language-select branch December 2, 2019 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants