-
Notifications
You must be signed in to change notification settings - Fork 135
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
feat: add dbaas logs opensearch alias and index resources #742
Conversation
|
||
d.SetId(*id) | ||
|
||
indexes := d.Get("indexes").([]interface{}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indexes := d.Get("indexes").([]interface{}) | |
indexes := d.Get("indexes").([]string) |
and envoid the next index.(string)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
panic: interface conversion: interface {} is []interface {}, not []string
I suppose this is due to this declaration e7dbabe#diff-c62ab4e0d2d514494a5e0c1f4e955ccdf85a59d2fcd1b2b59ca14f7e32b8e79dR88 which declares property as an []interface{}
e7dbabe
to
5d477cf
Compare
website/docs/r/dbaas_logs_output_opensearch_alias.html.markdown
Outdated
Show resolved
Hide resolved
website/docs/r/dbaas_logs_output_opensearch_index.html.markdown
Outdated
Show resolved
Hide resolved
5d477cf
to
4fab6ac
Compare
4fab6ac
to
09edc50
Compare
Description
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
make testacc TESTARGS="-parallel=1 -run DbaasLogs"
Test Configuration:
terraform version
: Terraform vx.y.zChecklist:
go mod vendor
if I added or modifygo.mod
file