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

fix: Do not create a deployment when a version is not provided #7

Conversation

mlnrt
Copy link
Contributor

@mlnrt mlnrt commented Jul 24, 2023

Description

Update the condition to create a aws_appconfig_deployment to check if a version is passed

Motivation and Context

If we want to create an AppConfig without a deployment and do not set var.deployment_configuration_version, the module returns an error because it tries to create a depyment version even if it is not set

Breaking Changes

This change does not break backwards compatibility with the current major version

How Has This Been Tested?

I updated the examples/ssm_parameter and tested it locally using the pre-commit but did not include the change to the example in this PR

@mlnrt mlnrt changed the title Update condition to create a aws_appconfig_deployment fix: update condition to create a aws_appconfig_deployment Jul 24, 2023
@mlnrt mlnrt changed the title fix: update condition to create a aws_appconfig_deployment fix: Update condition to create a aws_appconfig_deployment Jul 24, 2023
@bryantbiggs bryantbiggs changed the title fix: Update condition to create a aws_appconfig_deployment fix: Do not create a deployment when a version is not provided Oct 30, 2023
@bryantbiggs bryantbiggs merged commit 46ab6cb into terraform-aws-modules:master Oct 30, 2023
1 check passed
antonbabenko pushed a commit that referenced this pull request Oct 30, 2023
### [1.1.4](v1.1.3...v1.1.4) (2023-10-30)

### Bug Fixes

* Do not create a deployment when a version is not provided ([#7](#7)) ([46ab6cb](46ab6cb))
@antonbabenko
Copy link
Member

This PR is included in version 1.1.4 🎉

Copy link

github-actions bot commented Mar 8, 2024

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants