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

Issue with edition attribute #18186

Open
praveentelus opened this issue May 20, 2024 · 3 comments
Open

Issue with edition attribute #18186

praveentelus opened this issue May 20, 2024 · 3 comments
Labels

Comments

@praveentelus
Copy link

Question

I am creating an cloud sql instance and while writing a terraform script, I have mentioned edition = "ENTERPRISE_PLUS" under the setting attribute, but while doing plan, I am getting the error that this field is not supported at this place whereas, I can see in the document of this google_sql_database_instance resource, it's mentioned there.

@praveentelus
Copy link
Author

Error :

│ Error: Unsupported argument

│ on ../modules/cloud-sql/main.tf line 27, in resource "google_sql_database_instance" "cloud_sql_instance":
│ 27: edition = "ENTERPRISE_PLUS"

│ An argument named "edition" is not expected here.

@Sanjoy1995
Copy link

Sanjoy1995 commented May 31, 2024

@praveentelus I'm using provider version 5.31.1 . It's working fine.

I was also facing this issue with provider version 4.66.0 .

Please upgrade your version & test it.

@Siddhartha90
Copy link

Related: The edition field for spanner DB was added in release 6.4.0. I'm assuming it went in for cloudSQL a few releases prior.

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

No branches or pull requests

3 participants