Getting the below error: Resources have not been created using ‘terraform’.
Here is the main.tf
resource “aws_kinesis_stream” “datacenter_stream” {
name = “datacenter-stream”
shard_count = 1
retention_period = 48
shard_level_metrics = [
“IncomingBytes”,
“OutgoingBytes”,
]
stream_mode_details {
stream_mode = “PROVISIONED”
}
tags = {
Name = “datacenter-stream”
Environment = “Production”
Department = “DevOps”
}
}
Output the stream details
output “kinesis_stream_name” {
value = aws_kinesis_stream.datacenter_stream.name
}
output “kinesis_stream_arn” {
value = aws_kinesis_stream.datacenter_stream.arn
}
output “kinesis_stream_status” {
value = aws_kinesis_stream.datacenter_stream.id
}



