From e569354ed69008808c93323741f6d36259910bc3 Mon Sep 17 00:00:00 2001 From: Alina Buzachis Date: Thu, 23 May 2024 18:09:54 +0200 Subject: [PATCH] Prep cloud.terraform 3.0.0 Signed-off-by: Alina Buzachis --- CHANGELOG.rst | 22 ++++++++--- changelogs/changelog.yaml | 38 ++++++++++++++----- .../20240217-fix-awscc-integration-test.yaml | 3 -- .../ansible-core-version-increase.yml | 2 - docs/cloud.terraform.terraform_module.rst | 2 +- galaxy.yml | 2 +- 6 files changed, 47 insertions(+), 22 deletions(-) delete mode 100644 changelogs/fragments/20240217-fix-awscc-integration-test.yaml delete mode 100644 changelogs/fragments/ansible-core-version-increase.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 617bf814..a8607717 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,18 @@ The cloud.terraform collection Release Notes .. contents:: Topics +v3.0.0 +====== + +Release Summary +--------------- + +This major release drops support for ``ansible-core < 2.15``. + +Breaking Changes / Porting Guide +-------------------------------- + +- Drop support for ansible-core < 2.15 (https://github.com/ansible-collections/cloud.terraform/pull/138). v2.0.0 ====== @@ -13,23 +25,21 @@ Breaking Changes / Porting Guide - Remove support for ansible-core < 2.14 (https://github.com/ansible-collections/cloud.terraform/pull/102). - Major Changes ------------- -- terraform_provider - Added ``search_child_modules`` option (https://github.com/ansible-collections/cloud.terraform/pull/55). - terraform_provider - Allow ``project_path`` in terraform_provider inventory plugin to accept a list of paths (https://github.com/ansible-collections/cloud.terraform/pull/55). +- terraform_provider - Added ``search_child_modules`` option (https://github.com/ansible-collections/cloud.terraform/pull/55). Minor Changes ------------- - Removed integration tests workaround in terrform_provider. (https://github.com/ansible-collections/cloud.terraform/pull/84) - Set default of ``state_file`` in terraform_provider inventory plugin to a blank string (https://github.com/ansible-collections/cloud.terraform/pull/55). -- terraform - add support for ``workspace`` when running ``terraform output`` (https://github.com/ansible-collections/cloud.terraform/issues/85). +- terraform - add support for ``workspace`` when running ``terraform output`` (https://github.com/ansible-collections/cloud.terraform/issues/85). +- terraform - cleanup temporary file create during module execution. (https://github.com/ansible-collections/cloud.terraform/issues/2) - terraform_output - add support for ``workspace`` when running ``terraform output`` (https://github.com/ansible-collections/cloud.terraform/issues/85). - tf_output - add support for ``workspace`` when running ``terraform output`` (https://github.com/ansible-collections/cloud.terraform/issues/85). -- terraform - cleanup temporary file create during module execution. (https://github.com/ansible-collections/cloud.terraform/issues/2) - Bugfixes -------- @@ -37,9 +47,9 @@ Bugfixes - module_utils - Accept Terraform executables present on PATH passed in as ``binary_path`` without specifying their absolute path. (https://github.com/ansible-collections/cloud.terraform/issues/49) - module_utils - Allow ``nested_type`` attribute in terraform schema. (https://github.com/ansible-collections/cloud.terraform/issues/93) - module_utils - Fix AWS SQS queue creation. The ``values`` attribute in terraform output is optional. SQS is one of (rare) cases where ``values`` is absent. (https://github.com/ansible-collections/cloud.terraform/issues/86) -- terraform - fix spaces between characters in command field in result (https://github.com/ansible-collections/cloud.terraform/pull/76). - move test requirements out of the requirements.txt file (https://github.com/ansible-collections/cloud.terraform/pull/67). - terraform - fix issue with ``plan_file`` option specified with ``check_mode=true`` and ``state`` set to one of ``present`` and ``absent``, the module is enable now to generate a Terraform file to the specified location (https://github.com/ansible-collections/cloud.terraform/issues/87). +- terraform - fix spaces between characters in command field in result (https://github.com/ansible-collections/cloud.terraform/pull/76). v1.1.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 022d0c9e..3363215d 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -75,22 +75,32 @@ releases: breaking_changes: - Remove support for ansible-core < 2.14 (https://github.com/ansible-collections/cloud.terraform/pull/102). bugfixes: - - module_utils - Accept Terraform executables present on PATH passed in as ``binary_path`` without specifying their absolute path. (https://github.com/ansible-collections/cloud.terraform/issues/49) + - module_utils - Accept Terraform executables present on PATH passed in as ``binary_path`` + without specifying their absolute path. (https://github.com/ansible-collections/cloud.terraform/issues/49) - module_utils - Allow ``nested_type`` attribute in terraform schema. (https://github.com/ansible-collections/cloud.terraform/issues/93) - - module_utils - Fix AWS SQS queue creation. The ``values`` attribute in terraform output is optional. SQS is one of (rare) cases where ``values`` is absent. (https://github.com/ansible-collections/cloud.terraform/issues/86) - - terraform - fix spaces between characters in command field in result (https://github.com/ansible-collections/cloud.terraform/pull/76). + - module_utils - Fix AWS SQS queue creation. The ``values`` attribute in terraform + output is optional. SQS is one of (rare) cases where ``values`` is absent. + (https://github.com/ansible-collections/cloud.terraform/issues/86) - move test requirements out of the requirements.txt file (https://github.com/ansible-collections/cloud.terraform/pull/67). - - terraform - fix issue with ``plan_file`` option specified with ``check_mode=true`` and ``state`` set to one of ``present`` and ``absent``, the module is enable now to generate a Terraform file to the specified location (https://github.com/ansible-collections/cloud.terraform/issues/87). + - terraform - fix issue with ``plan_file`` option specified with ``check_mode=true`` + and ``state`` set to one of ``present`` and ``absent``, the module is enable + now to generate a Terraform file to the specified location (https://github.com/ansible-collections/cloud.terraform/issues/87). + - terraform - fix spaces between characters in command field in result (https://github.com/ansible-collections/cloud.terraform/pull/76). major_changes: + - terraform_provider - Allow ``project_path`` in terraform_provider inventory + plugin to accept a list of paths (https://github.com/ansible-collections/cloud.terraform/pull/55). - terraform_provider - Added ``search_child_modules`` option (https://github.com/ansible-collections/cloud.terraform/pull/55). - - terraform_provider - Allow ``project_path`` in terraform_provider inventory plugin to accept a list of paths (https://github.com/ansible-collections/cloud.terraform/pull/55). minor_changes: - Removed integration tests workaround in terrform_provider. (https://github.com/ansible-collections/cloud.terraform/pull/84) - - Set default of ``state_file`` in terraform_provider inventory plugin to a blank string (https://github.com/ansible-collections/cloud.terraform/pull/55). - - terraform - add support for ``workspace`` when running ``terraform output`` (https://github.com/ansible-collections/cloud.terraform/issues/85). - - terraform_output - add support for ``workspace`` when running ``terraform output`` (https://github.com/ansible-collections/cloud.terraform/issues/85). - - tf_output - add support for ``workspace`` when running ``terraform output`` (https://github.com/ansible-collections/cloud.terraform/issues/85). + - Set default of ``state_file`` in terraform_provider inventory plugin to a + blank string (https://github.com/ansible-collections/cloud.terraform/pull/55). + - terraform - add support for ``workspace`` when running ``terraform output`` + (https://github.com/ansible-collections/cloud.terraform/issues/85). - terraform - cleanup temporary file create during module execution. (https://github.com/ansible-collections/cloud.terraform/issues/2) + - terraform_output - add support for ``workspace`` when running ``terraform + output`` (https://github.com/ansible-collections/cloud.terraform/issues/85). + - tf_output - add support for ``workspace`` when running ``terraform output`` + (https://github.com/ansible-collections/cloud.terraform/issues/85). fragments: - 20230524-aws_integration_tests.yml - 20230913-add-support-for-workspace-when-running-terraform_output.yml @@ -107,3 +117,13 @@ releases: - terraform-cleanup-file.yml - terraform_provider_remove_workaround.yml release_date: '2023-11-17' + 3.0.0: + changes: + breaking_changes: + - Drop support for ansible-core < 2.15 (https://github.com/ansible-collections/cloud.terraform/pull/138). + release_summary: This major release drops support for ``ansible-core < 2.15``. + fragments: + - 20240217-fix-awscc-integration-test.yaml + - ansible-core-version-increase.yml + - release_summary.yml + release_date: '2024-05-23' diff --git a/changelogs/fragments/20240217-fix-awscc-integration-test.yaml b/changelogs/fragments/20240217-fix-awscc-integration-test.yaml deleted file mode 100644 index d81c23cb..00000000 --- a/changelogs/fragments/20240217-fix-awscc-integration-test.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - fix integration test target ``awscc`` (https://github.com/ansible-collections/cloud.terraform/pull/118). diff --git a/changelogs/fragments/ansible-core-version-increase.yml b/changelogs/fragments/ansible-core-version-increase.yml deleted file mode 100644 index 9e8e9ab1..00000000 --- a/changelogs/fragments/ansible-core-version-increase.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - "Drop support for ansible-core < 2.15 (https://github.com/ansible-collections/cloud.terraform/pull/138)." diff --git a/docs/cloud.terraform.terraform_module.rst b/docs/cloud.terraform.terraform_module.rst index 9436d478..d154c8f1 100644 --- a/docs/cloud.terraform.terraform_module.rst +++ b/docs/cloud.terraform.terraform_module.rst @@ -255,7 +255,7 @@ Parameters
The path to a Terraform plan file to apply or generate.
-
When 'check_mode' is set to True or state=planned, a Terraform plan file with be generated and saved into the specified location.
+
When 'check_mode' is set to True or state=planned, a Terraform plan file will be generated and saved into the specified location.
When 'check_mode' is set to False and state is set to either present or absent, The existing Terraform plan file will be applied.
diff --git a/galaxy.yml b/galaxy.yml index 3f3350b8..116865b8 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -2,7 +2,7 @@ namespace: cloud name: terraform -version: 3.0.0-dev0 +version: 3.0.0 readme: README.md authors: - Ansible (https://github.com/ansible)