Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

205
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda