The stream should be named nautilus-stream. error while validate task

The Nautilus DevOps team needs to create an AWS Kinesis data stream for real-time data processing. This stream will be used to ingest and process large volumes of streaming data, which will then be consumed by various applications for analytics and real-time decision-making. The stream should be named nautilus-stream.

code :slight_smile:
resource “aws_kinesis_stream” “devops_stream” {
name = “devops-stream”
shard_count = 1
retention_period = 48

shard_level_metrics = [
“IncomingBytes”,
“OutgoingBytes”,
]

stream_mode_details {
stream_mode = “PROVISIONED”
}

tags = {
Environment = “test”
}
}

error:

No worries!!

Uh oh! Looks like the task was not completed successfully. But it’s Ok. You can try again next time this task is assigned to you.

![](data:image/svg+xml,%3csvg%20width=‘34’%20height=‘34’%20viewBox=‘0%200%2034%2034’%20fill=‘none’%20xmlns=‘http://www.w3.org/2000/svg’><circle%20cx=‘17’%20cy=‘17’%20r=‘17’%20fill=‘%23EF4444’%20fill-opacity=‘0.08’/><circle%20cx=‘16.9999’%20cy=‘17.0004’%20r=‘13.6’%20fill=‘%23EF4444’/><path%20d=‘M21.1391%2013.6941L20.3054%2012.8604L17%2016.1657L13.6946%2012.8604L12.8608%2013.6941L16.1662%2016.9995L12.8608%2020.3049L13.6946%2021.1386L17%2017.8332L20.3054%2021.1386L21.1391%2020.3049L17.8337%2016.9995L21.1391%2013.6941Z’%20fill='white’/%3e%3c/svg%3e)

 Terraform plan is still returning some pending changes.

Same for me.

Just do it again and it works (try wait a little longer).

run:

aws kinesis list-streams

aws kinesis describe-stream --stream-name

I think the problem is that localstack (AWS emulator) not so fast as we all it to be =)

Cheers.