Skip to content

Conversation

@medikoo
Copy link
Contributor

@medikoo medikoo commented Feb 7, 2022

Improve variable resolution queuing logic.

It also fixes one shortcoming, where after registering all non-AWS specific sources, logic immediately moved to validation on whether properties that influence AWS authentication logic are resolved.
This patch ensure that we attempt to re-resolve those properties having additional information, before validating them. This e.g. allows to configure provider.profile with param variable sources.

Fixes #10642


Additionally dropped support for enterpriseDisabled user configuration property, which didn't seem to be documented anywhere, and if used it prevented to use param variables, even with no dashboard enabled in service config.

@codecov
Copy link

codecov bot commented Feb 7, 2022

Codecov Report

Merging #10652 (87407f4) into main (76a60ae) will decrease coverage by 0.02%.
The diff coverage is 41.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #10652      +/-   ##
==========================================
- Coverage   86.42%   86.40%   -0.03%     
==========================================
  Files         299      299              
  Lines       12376    12377       +1     
==========================================
- Hits        10696    10694       -2     
- Misses       1680     1683       +3     
Impacted Files Coverage Δ
scripts/serverless.js 62.27% <34.37%> (-0.68%) ⬇️
lib/classes/plugin-manager.js 93.44% <100.00%> (-0.05%) ⬇️
lib/cli/conditionally-load-dotenv.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 76a60ae...87407f4. Read the comment docs.

@medikoo medikoo force-pushed the 0207-improve-vars-handling branch from e936df4 to 5587f93 Compare February 7, 2022 12:30
@medikoo medikoo force-pushed the 0207-improve-vars-handling branch from 5587f93 to 87407f4 Compare February 7, 2022 12:39
@medikoo medikoo requested a review from pgrzesik February 7, 2022 13:20
Copy link
Contributor

@pgrzesik pgrzesik 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, I have one minor question only

@medikoo medikoo merged commit e66c865 into main Feb 7, 2022
@medikoo medikoo deleted the 0207-improve-vars-handling branch February 7, 2022 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to use stage parameters for profile

3 participants