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

144
Visualizações
Retaining meta-tags in AWS S3 upon deployments by Code Pipeline

I have a serverless website on AWS with the HTML, JS, CSS files in an S3 bucket - to optimize performance most of these files are GZIP compressed and marked with content-encoding gzip in the Properties > Metadata

I recently create a Code Pipeline to deploy any changes to s3 bucket... So instead of manually replacing the s3 bucket from my local folder - I update my repo in CodeCommit (AWS's flavored Git) and it deploys it to my S3 bucket... no issues with the pipeline at all

The issue I am facing: As a result of code pipeline firing, when a new file replaces an existing file in s3, it removes the meta-tags that I had put there (on the previous file)... especially the content-encoding : gzip meta-tags... which messes up my website !!!

What would be the best way to preserve any/all meta-tags when code-pipeline deploys stuff to s3?

Ideally, I would like to avoid (if possible) using CloudFront - or writing a Lambda function which scans my repo and adds a gzip tag to all HTML, CSS, JS etc.

over 4 years ago · Santiago Trujillo
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