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

AWS upgrades aurora version in the background, breaking deploy #81

Open
tdewitt opened this issue Feb 11, 2023 · 0 comments
Open

AWS upgrades aurora version in the background, breaking deploy #81

tdewitt opened this issue Feb 11, 2023 · 0 comments

Comments

@tdewitt
Copy link

tdewitt commented Feb 11, 2023

When I set this up originally, it create the Aurora cluster with the defined version. It appears that AWS has upgraded it in the background. Since I'm calling this as a module, I can't use lifecycle to ignore the change and move. This will likely prevent any future deploys.

Untested (I might tomorrow) but engine_version supports partials, which should allow AWS to do the forced upgrades without breaking things.

 # module.serverless-static-wordpress.aws_rds_cluster.serverless_wordpress will be updated in-place
  ~ resource "aws_rds_cluster" "serverless_wordpress" {
      ~ engine_version                      = "5.7.mysql_aurora.2.08.3" -> "5.7.mysql_aurora.2.07.1"
        id                                  = "site-serverless-wordpress"
        tags                                = {}
        # (36 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

engine_version = "5.7.mysql_aurora.2.07.1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant