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

Using strconv.Itoa to set optional parameter will create a empty value #1204

Closed
Lance52259 opened this issue Jun 9, 2021 · 0 comments · Fixed by #1205
Closed

Using strconv.Itoa to set optional parameter will create a empty value #1204

Lance52259 opened this issue Jun 9, 2021 · 0 comments · Fixed by #1205

Comments

@Lance52259
Copy link
Contributor

In the provider doc and API reference of RDS instance, port is marked as optional parameter and if it is omitted the default value will be used.
An empty value of port field were passed to API, because of the d.Get("db.0.port").(int) return a zero value that this parameter was not set.

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

Successfully merging a pull request may close this issue.

1 participant