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

Allow to disable default export names #9748

Merged
merged 1 commit into from Jul 15, 2021

Conversation

pgrzesik
Copy link
Contributor

Closes: #9361

@pgrzesik pgrzesik added enhancement deprecation Deprecation proposal (breaking with next major) labels Jul 15, 2021
@pgrzesik pgrzesik added this to the v3-ready milestone Jul 15, 2021
@pgrzesik pgrzesik self-assigned this Jul 15, 2021
@codecov
Copy link

codecov bot commented Jul 15, 2021

Codecov Report

Merging #9748 (a590604) into master (040036d) will increase coverage by 0.01%.
The diff coverage is 100.00%.

❗ Current head a590604 differs from pull request most recent head 7593d5f. Consider uploading reports for the commit 7593d5f to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9748      +/-   ##
==========================================
+ Coverage   86.09%   86.10%   +0.01%     
==========================================
  Files         327      328       +1     
  Lines       12582    12597      +15     
==========================================
+ Hits        10832    10847      +15     
  Misses       1750     1750              
Impacted Files Coverage Δ
lib/plugins/aws/provider.js 93.75% <ø> (ø)
lib/aws/has-local-credentials.js 100.00% <100.00%> (ø)
lib/cli/interactive-setup/index.js 88.88% <100.00%> (+0.88%) ⬆️
lib/cli/interactive-setup/utils.js 94.73% <100.00%> (+0.98%) ⬆️
lib/cli/load-dotenv.js 95.23% <100.00%> (+1.12%) ⬆️
lib/plugins/aws/package/index.js 100.00% <100.00%> (ø)
...plugins/aws/package/lib/addExportNameForOutputs.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 040036d...7593d5f. Read the comment docs.

@pgrzesik pgrzesik requested a review from medikoo July 15, 2021 09:15
Copy link
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pgrzesik looks great, I've spotted just one documentation issue

@@ -63,6 +63,7 @@ provider:
key1: value1
key2: value2
deploymentPrefix: serverless # The S3 prefix under which deployed artifacts should be stored. Default is serverless
disableDefaultOutputExportNames: true # optional, allows to disable default behavior of generating export names for CloudFormation outputs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should reflect default here, which while being null, is better to communicate with false (we do like that in other similar cases)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good suggestion, thank you

@pgrzesik pgrzesik force-pushed the allow-disabling-automatic-export branch from 2d70cbe to 7593d5f Compare July 15, 2021 09:43
@pgrzesik pgrzesik requested a review from medikoo July 15, 2021 09:53
Copy link
Contributor

@medikoo medikoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 👍

@pgrzesik pgrzesik merged commit 6f49488 into master Jul 15, 2021
@pgrzesik pgrzesik deleted the allow-disabling-automatic-export branch July 15, 2021 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Deprecation proposal (breaking with next major) enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Output collision when deploying a split service into the same bucket
2 participants