aws / aws/aws-extensions-for-dotnet-cli

Support for parameter overrides in CFn templates

Open
#159 2 comments 0 reactions 0 assignees View on GitHub
feature-request module/cli-ext p2 queued
Dominant language
C#
Stars
393
Forks
90
Avg merge
2d 19m
Merged PRs (30d)
3

Description

I see that template parameters are supported via an argument:
https://github.com/aws/aws-extensions-for-dotnet-cli/blob/1877efebcf77c05e795911317ca1d32931dbd372/src/Amazon.Lambda.Tools/Commands/DeployServerlessCommand.cs#L579

However it would be great if you were also able to refer to a file, similar to [the AWS CLI](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/deploy/index.html).

e.g. something like:
```
dotnet lambda deploy-serverless --template-parameters file://parameters.my-stack-prod.json
```

which is similar to:
```
aws cloudformation deploy --template stack.yaml --stack-name my-stack --parameter-overrides file://parameters.my-stack-prod.json
```

Contributor guide

Open the contributing guide

Research direction

Start in src/Amazon.Lambda.Tools/Commands/DeployServerlessCommand.cs around line 579, where template parameters are currently handled, and compare the AWS CloudFormation deploy parameter-overrides documentation linked in the issue. Done means deploy-serverless accepts the requested file:// parameter source and applies its overrides during deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, csharp
Domain
cli, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.