forked from ansible-collections/community.aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial tests for kinesis_stream (ansible-collections#42)
* Initial tests for kinesis_stream * Add exceptions for broken check_mode behaviour (idemmpotency) * kinesis_stream requires shards to be defined, update the docs to match * Add tests for tagging and retention period * Yet more tests (and bugs) * Disable Kinesis KMS tests - not supported in CI right now * Apply minor changes from review Co-authored-by: Jill R <[email protected]> Co-authored-by: Jill R <[email protected]>
- Loading branch information
Showing
6 changed files
with
1,000 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
18 changes: 18 additions & 0 deletions
18
tests/integration/targets/kinesis_stream/defaults/main.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,18 @@ | ||
--- | ||
kinesis_stream_name: '{{ resource_prefix }}' | ||
|
||
kms_cmk_alias_1: '{{ resource_prefix }}-1' | ||
kms_cmk_alias_2: '{{ resource_prefix }}-2' | ||
|
||
# A variety of camelCase and PascalCase to test things don't get re-cased | ||
# underneath us | ||
kinesis_stream_tags_1: | ||
tag: value | ||
AnExample: AValue | ||
somethingElse: Another Value | ||
Bleep: bloop | ||
# Adds 2 values, Deletes 2 and keeps a value | ||
kinesis_stream_tags_2: | ||
tag: value | ||
foo: Bar | ||
Baz: quuX |
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,3 @@ | ||
dependencies: | ||
- prepare_tests | ||
- setup_ec2 |
Oops, something went wrong.