Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

203
Vistas
Terraform import aws_cloudwatch_log_stream

I need to import an existing aws_cloudwatch_log_stream (or AWS::Logs::LogStream in CloudFormation) into my configuration. However, it appears that Terraform does not support this functionality. CloudFormation also doesn't support this functionality, so I can't just wrap it into a mini CloudFormation template.

I don't want to delete and remake my old log stream.

What should I do? What are my options?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

This functionality was added in version 2.67.0 of the AWS provider.

You should be able to import a log stream when using that version or greater by running the following command:

terraform import aws_cloudwatch_log_stream.foo Yada:SampleLogStream1234

Original answer:

This pull request was raised today and will add the ability to import Cloudwatch Log Streams in the form of logGroup:logStream. The documentation provides an example:

terraform import aws_cloudwatch_log_stream.foo Yada:SampleLogStream1234

To be able to use this you can either wait for it to be merged (likely very soon as it's small and the author has contributed a lot to the AWS provider) and then released or you can build the provider yourself from the pull request's forked repo and branch.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda