-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Primary branch config is ignored #42
Comments
@kislerdm This line stood out after a quick review of the relevant code: terraform-provider-neon/internal/provider/resource_project.go Lines 330 to 332 in e93ab5c
RoleName instead of DatabaseName ).Not sure if it explains why branch name and role_name are ignored as well.
|
@domenikk Hello! Thank you for opening the issue! AFAIK, the default branch cannot be mutated upon project creation. I'll check with Neon folks, and come back with execution paths for us to align on if you don't mind. Thanks for your support! Regards, |
@domenikk hey! A headsup: the issue's root cause was identified, it will be fixed in v0.2.2. ETA: 2023-09-20. |
@kislerdm that's great news. Thanks a lot for looking into it |
@domenikk Hey! Thank you for your contribution! May I kindly ask to star the repo to gain its visibility? Thanks! |
Terraform Version
Provider Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/domenikk/7eae89c13154375f721a800c00e6e363
Panic Output
If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the
crash.log
.Expected Behavior
Primary branch should have been created using the values (
name
,database_name
,role_name
) provided in config.Actual Behavior
Branch has been created with the default values from Neon, ignoring config. From
.tfstate
file:Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
Are there anything atypical about your accounts that we should know?
References
Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:
The text was updated successfully, but these errors were encountered: