[Seção 05 - Criando um Site Estático] - The S3 bucket that you specified for CloudFront logs does not enable ACL access #167
Replies: 2 comments 1 reply
-
@fabricio-b-oliveira-fb tente atualizar esta parte do código para ver se corrige o erro. A função
Já a função
data "template_file" "s3-public-policy" {
template = templatefile("policy.json", {
bucket_name = local.domain
cdn_oai = aws_cloudfront_origin_access_identity.this.id
})
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
@chgasparoto agradeço pelo apoio. Ajustado. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Olá! Tudo bem?
Estou recebendo um erro relacionado ao recurso acl.
Apesar de seguir as recomendações dadas em resposta à uma issue similar aqui do curso e pesquisar na doc do Terraform o erro abaixo persiste:
Desde já agradeço pela ajuda e atenção.
Versão do Terraform: 1.9.3
Obs.: o erro só acontece relacionado ao bucket de log
Solução recomendada: (aparentemente não funciona para o bucket de log)
block_public_acls = false
block_public_policy = false
ignore_public_acls = false
restrict_public_buckets = false
-> s3.tf (alteração segundo recomendação da versão 1.9.3)
-> cloudfron.tf (arquivo não alterado)
Beta Was this translation helpful? Give feedback.
All reactions