-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #127 from PierreBeucher/identity-cache-config
Identity cache config
- Loading branch information
Showing
12 changed files
with
202 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,6 +93,7 @@ | |
sops | ||
age | ||
awscli2-patched | ||
aws-vault | ||
|
||
pulumi | ||
pulumiPackages.pulumi-language-nodejs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Test config using config.aws.identity_cache.load_timeout | ||
# used by unit test to check identity cache config is used as expected | ||
environments: | ||
timeout: | ||
aws: | ||
assume_role: | ||
role_arn: arn:aws:iam::111122223333:role/NovopsTestAssumeRole | ||
source_profile: novops-aws-test-identity-cache-load-timeout | ||
|
||
|
||
config: | ||
aws: | ||
endpoint: "http://localhost:4566/" # LocalStack | ||
# Set timeout to 10 | ||
# Source profile novops-aws-test-identity-cache-load-timeout will wait for 7 seconds | ||
# to check timeout is used as expected | ||
identity_cache: | ||
load_timeout: 10 |
12 changes: 12 additions & 0 deletions
12
tests/.novops.aws_assumerole_id_cache_load_timeout_short.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
environments: | ||
timeout: | ||
aws: | ||
assume_role: | ||
role_arn: arn:aws:iam::111122223333:role/NovopsTestAssumeRole | ||
source_profile: novops-aws-test-identity-cache-load-timeout | ||
|
||
config: | ||
aws: | ||
endpoint: "http://localhost:4566/" # LocalStack | ||
identity_cache: | ||
load_timeout: 1 # Very short, should cause timeout with novops-aws-test-identity-cache-load-timeout profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters