Skip to content
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

fix: DBTP-1089 Move to shared log resource policy #166

Merged
merged 11 commits into from
Jun 27, 2024

Conversation

WillGibson
Copy link
Contributor

@WillGibson WillGibson commented Jun 20, 2024

Addresses https://uktrade.atlassian.net/browse/DBTP-1089

TLDR: Will allow us to have more than 10 environments in the same account/region.

@ksugden and @WillGibson have tested this by deploying the willg environment from scratch, checking it's all working and the log groups have the test streams that AWS does.

@WillGibson WillGibson changed the title DBTP-1089 Move to shared log resource policy fix: DBTP-1089 Move to shared log resource policy Jun 20, 2024
logs/outputs.tf Outdated Show resolved Hide resolved
logs/variables.tf Outdated Show resolved Hide resolved
]
}
CONFIG
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary Log group policy that was actually shared by all environments and destroyed when any one of the environments was destroyed.

@WillGibson WillGibson marked this pull request as ready for review June 26, 2024 15:35
Copy link
Contributor

@antroy-madetech antroy-madetech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand how this fixes the issue. I understand that it does, but not sure how moving the module call from extensions to vpc fixes things.


application = var.args.application
environment = var.environment
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come this has moved from extensions to vpc?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So that we have one log resource policy per VPC instead of one per environment...

https://uktrade.atlassian.net/browse/DBTP-1089

@WillGibson WillGibson merged commit 9527e75 into main Jun 27, 2024
6 checks passed
@WillGibson WillGibson deleted the DBTP-1089-move-to-shared-log-resource-policy branch June 27, 2024 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants