Trying to setup a Kinesis Datafirehose to AWS Opensearch Serverless. Opensearch is well documented by Serverless is not there.
esource "aws_kinesis_firehose_delivery_stream" "rsinetworkfirewall" {
# depends_on = [aws_iam_role_policy.firehose-opensearch]
name = "networkingfirewall-kinesis-firehose-os"
destination = "opensearch"
opensearch_configuration {
domain_arn = aws_opensearchserverless_collection.rsiopensearch.arn
role_arn = aws_iam_role.firehose_role.arn
index_name = "rsinetworkfirewall"
Here is the error
Terraform v1.4.6
on linux_amd64
aws_kinesis_firehose_delivery_stream.rsinetworkfirewall: Creating…
╷
│ Error: creating Kinesis Firehose Delivery Stream (networkingfirewall-kinesis-firehose-os): InvalidArgumentException: Invalid Elasticsearch domain ARN
│
│ with aws_kinesis_firehose_delivery_stream.rsinetworkfirewall,
│ on kinesisfirehose.tf line 2, in resource “aws_kinesis_firehose_delivery_stream” “rsinetworkfirewall”:
│ 2: resource “aws_kinesis_firehose_delivery_stream” “rsinetworkfirewall” {