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

Integration tests update - iam_role migrated from community.aws to amazon.aws #121

Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
trivial:
- Update integration tests target eks, iam_role has been migrated from community.aws to amazon.aws (https://github.com/ansible-collections/amazon.cloud/pull/121).
4 changes: 2 additions & 2 deletions tests/integration/targets/eks/tasks/cleanup.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
- include_tasks: set_facts.yml
- name: Delete IAM role
community.aws.iam_role:
amazon.aws.iam_role:
name: "{{ _result_create_iam_role.role_name }}"
state: absent
ignore_errors: true

- name: Delete IAM role
community.aws.iam_role:
amazon.aws.iam_role:
name: "{{ _result_create_iam_role_fp.role_name }}"
state: absent
ignore_errors: true
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/targets/eks/tasks/eks_cluster.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- include_tasks: set_facts.yml
# Create a EKS Cluster to test Fargate Profile
- name: Ensure IAM instance role exists
community.aws.iam_role:
amazon.aws.iam_role:
name: "{{ _resource_prefix }}-cluster-role"
assume_role_policy_document: "{{ lookup('file','eks_cluster-policy.json') }}"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
register: _result_delete_fp

- name: Create IAM instance role
community.aws.iam_role:
amazon.aws.iam_role:
name: "{{ _resource_prefix }}-fp-role"
assume_role_policy_document: "{{ lookup('file', 'eks_fargate_profile-policy.json') }}"
state: present
Expand Down
Loading