-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move logs from govuk-aws #119
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good, the imports will fail in non-prod environments, though I guess that won't be much of an issue if you're planning on manually updating the imports file for each environment.
I've made some small suggestions, if you want to do the import now they can be fixed later.
logs/integration.govuk.backend
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file required?
logs/main.tf
Outdated
|
||
resource "aws_iam_policy" "logs_writer" { | ||
name = "fastly-logs-${var.environment}-logs-writer-policy" | ||
policy = <<EOF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These IAM policies should use aws_iam_policy_document
logs/main_imports.tf
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The imports that refer to prod won't work in the other environments
de7737b
to
1e2034e
Compare
Move the infra-fastly-logs project from govuk-aws.
1e2034e
to
253dd60
Compare
Move the infra-fastly-logs project from govuk-aws.
alphagov/govuk-infrastructure#1127