Skip to content

Commit eb8b138

Browse files
committed
Fixes
Signed-off-by: Alina Buzachis <abuzachis@redhat.com>
1 parent bffc37c commit eb8b138

9 files changed

Lines changed: 20 additions & 8 deletions

File tree

changelogs/fragments/fixes.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
breaking_changes:
2+
- setup_aws_credentials - Support for the ``EC2_ACCESS_KEY`` environment variable been removed in the latest major release of amazon.aws 10.0.0 and removed from this role. Please use the ``aws_access_key`` parameter or``AWS_ACCESS_KEY_ID`` environment variable instead (https://github.com/redhat-cop/cloud.aws_ops/pull/166).
3+
- setup_aws_credentials - Support for the ``EC2_REGION`` environment variable been removed in the latest major release of amazon.aws 10.0.0 and removed from this role. Please use the ``region` parameter or ``AWS_REGION`` environment variable instead (https://github.com/redhat-cop/cloud.aws_ops/pull/166).
4+
- setup_aws_credentials - Support for the ``EC2_SECRET_KEY`` environment variable been removed in the latest major release of amazon.aws 10.0.0 and removed from this role. Please use the ``aws_secret_key` parameter or ``AWS_SECRET_ACCESS_KEY`` environment variable instead (https://github.com/redhat-cop/cloud.aws_ops/pull/166).
5+
- setup_aws_credentials - Support for the ``EC2_SECURITY_TOKEN`` and the ``AWS_SECURITY_TOKEN`` environment variable been removed in the latest major release of amazon.aws 10.0.0 and removed from this role. Please use the ``aws_session_token` parameter or ``AWS_SESSION_TOKEN`` environment variable instead (https://github.com/redhat-cop/cloud.aws_ops/pull/166).
6+
- setup_aws_credentials - Support for the ``EC2_URL_TOKEN`` environment variable been removed in the latest major release of amazon.aws 10.0.0 and removed from this role. Please use the ``aws_endpoint_url` parameter or ``AWS_URL`` environment variable instead (https://github.com/redhat-cop/cloud.aws_ops/pull/166).
7+
8+
bugfixes:
9+
- Fix integration tests to work with ansible-core 2.19 (https://github.com/redhat-cop/cloud.aws_ops/pull/166).
10+
11+
minor_changes:
12+
- documentation - Update playbooks and roles documentation to provide updated information (https://github.com/redhat-cop/cloud.aws_ops/pull/166).

playbooks/upload_file_to_s3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
group/aws:
88
aws_access_key: "{{ aws_access_key | default(omit) }}"
99
aws_secret_key: "{{ aws_secret_key | default(omit) }}"
10-
session_token: "{{ aws_security_token | default(omit) }}"
10+
session_token: "{{ aws_session_token | default(omit) }}"
1111
profile: "{{ aws_profile | default(omit) }}"
1212

1313
tasks:

playbooks/webapp/vars/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ rds_allocated_storage_gb: 20
2222
rds_instance_class: db.m6g.large
2323
rds_instance_name: mysampledb123
2424
rds_engine: postgres
25-
rds_engine_version: "16.2"
25+
rds_engine_version: "16.3"
2626
bastion_host_type: t3.micro
2727
bastion_host_venv_path: ~/env
2828
rds_listening_port: 5432

roles/awsconfig_apigateway_with_lambda_integration/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
- lambda.yml
1010
- apigateway.yml
1111
loop_control:
12-
label: "{{ item }}"
12+
label: "{{ item }}"

roles/customized_ami/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ customized_ami_source_ami_filters:
44
architecture: x86_64
55
virtualization-type: hvm
66
root-device-type: ebs
7-
name: Fedora-Cloud-Base-37-*
7+
name: Fedora-Cloud-Base-39-*
88
customized_ami_source_ami_user_name: fedora
99

1010
customized_ami_vpc_cidr: 10.1.0.0/16

roles/move_objects_between_buckets/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
- name: Fail when the source s3 bucket is not empty and move_objects_between_buckets_delete_empty_source_bucket is true
5353
ansible.builtin.fail:
5454
msg: The source must be emptied before it can be deleted.
55-
when: move_objects_between_buckets_delete_empty_source_bucket | default(false) and move_objects_between_buckets_source_bucket_info.s3_keys
55+
when: move_objects_between_buckets_delete_empty_source_bucket | default(false) and move_objects_between_buckets_source_bucket_info.s3_keys | length != 0
5656

5757
- name: Delete source s3 bucket when empty
5858
amazon.aws.s3_bucket:

tests/integration/targets/test_deploy_flask_app/roles/run_deploy_flask_app/vars/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rds_allocated_storage_gb: 20
1919
rds_instance_class: db.m6g.large
2020
rds_instance_name: mysampledb123
2121
rds_engine: postgres
22-
rds_engine_version: "16.2"
22+
rds_engine_version: "16.3"
2323
bastion_host_type: t3.micro
2424
bastion_host_venv_path: ~/env
2525
image_filter: Fedora-Cloud-Base-39-*

tests/integration/targets/test_manage_vpc_peering/tasks/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
- name: Validate that VPC peering was found as expected
1515
ansible.builtin.assert:
1616
that:
17-
- __vpc_peering.result | length == 1
17+
- __vpc_peering.vpc_peering_connections | length == 1

tests/integration/targets/test_upload_file_to_s3/templates/upload_file_vars.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
aws_access_key: "{{ aws_access_key }}"
3-
aws_access_key: "{{ aws_secret_key }}"
3+
aws_secret_key: "{{ aws_secret_key }}"
44
{% if security_token is defined %}
55
aws_session_token: "{{ security_token }}"
66
{% endif %}

0 commit comments

Comments
 (0)