You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
expectation is that the index configs get added to this existing bucket
Actual Behavior
terraform plan
╷
│ Error: Unsupported argument
│
│ on logging-bucket.tf line 9, in resource "google_logging_project_bucket_config" "analytics-enabled-log-bucket":
│ 9: index_configs = {
│
│ An argument named "index_configs" is not expected here. Did you mean to define a block of type "index_configs"?
Steps to reproduce
terraform plan
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Drive-by comment, but I think if you change index_configs = { to index_configs { this will work for you. This is what the message is saying - you're currently defining a map named index_configs but the Terraform resource expects a block typed index_configs.
I looked up this issue and found that the documentation on the website is wrong #13287
Thank you @jbuck! That did work. I appreciate your fast response. It would definitely help if the documentation was updated to reflect this. It shows "index_configs= {"
Community Note
Terraform Version & Provider Version(s)
Terraform v1.8.5
on darwin_arm64
Affected Resource(s)
google_logging_project_bucket_config does not support index_configs although the provider version >= 5.6.0 should support it.
Terraform Configuration
Debug Output
No response
Expected Behavior
expectation is that the index configs get added to this existing bucket
Actual Behavior
terraform plan
╷
│ Error: Unsupported argument
│
│ on logging-bucket.tf line 9, in resource "google_logging_project_bucket_config" "analytics-enabled-log-bucket":
│ 9: index_configs = {
│
│ An argument named "index_configs" is not expected here. Did you mean to define a block of type "index_configs"?
Steps to reproduce
terraform plan
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: