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
Hello, I am attempting to deploy an AWS Bedrock knowledgebase stack using an OpenSearch Serverless backing store.
If I deploy the stack first time, it runs fine.
IF I run deploy again, having made no changes, I get message saying a whitespace change forces redeployment. I definitely don't want this; if the index contains data the replacement will fail, and anyway I don't want it replaced.
Thanks i.a for any guidance or suggestions!
# opensearch_index.bedrock-tf_opensearchIndex_2C121812 (bedrock-tf/opensearchIndex) must be replaced
-/+ resource "opensearch_index" "bedrock-tf_opensearchIndex_2C121812" {
~ id = "bedrock-knowledge-base-default-index" -> (known after apply)
~ mappings = jsonencode( # whitespace changes force replacement
How can one reproduce the bug?
Steps to reproduce the behavior.
Deploy an open search index in a serverless collection. I am using CDK for Terraform, not sure if this makes any difference)
The deployment shouldn't trigger a replacement for whitespace changes.
If this isn't possible, is it possible to document the exact expected string format so that the source can be formatted the same?
Although this issue seems small it is essentially blocking us from using Terraform to deploy the whole stack
What is your host/environment?
Mac Sonoma 14.2, Terraform 1.9.5, CDKTF 0.20.7
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered:
What is the bug?
Hello, I am attempting to deploy an AWS Bedrock knowledgebase stack using an OpenSearch Serverless backing store.
If I deploy the stack first time, it runs fine.
IF I run deploy again, having made no changes, I get message saying a whitespace change forces redeployment. I definitely don't want this; if the index contains data the replacement will fail, and anyway I don't want it replaced.
Thanks i.a for any guidance or suggestions!
How can one reproduce the bug?
Steps to reproduce the behavior.
What is the expected behavior?
The deployment shouldn't trigger a replacement for whitespace changes.
If this isn't possible, is it possible to document the exact expected string format so that the source can be formatted the same?
Although this issue seems small it is essentially blocking us from using Terraform to deploy the whole stack
What is your host/environment?
Mac Sonoma 14.2, Terraform 1.9.5, CDKTF 0.20.7
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: