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

Initial tests for kinesis_stream #42

Merged
merged 7 commits into from
Oct 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions plugins/modules/kinesis_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
community.aws.kinesis_stream:
name: test-stream
state: present
shards: 1
encryption_state: enabled
encryption_type: KMS
key_id: alias/aws/kinesis
Expand All @@ -140,6 +141,7 @@
community.aws.kinesis_stream:
name: test-stream
state: present
shards: 1
encryption_state: disabled
encryption_type: KMS
key_id: alias/aws/kinesis
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/targets/kinesis_stream/aliases
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 tests/integration/targets/kinesis_stream/defaults/main.yml
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
3 changes: 3 additions & 0 deletions tests/integration/targets/kinesis_stream/meta/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies:
- prepare_tests
- setup_ec2
Loading