Skip to content

Commit

Permalink
[DCMAW-8782] Update vpc for Dynatrace config (#284)
Browse files Browse the repository at this point in the history
DCMAW-8782

### What changed
Update VPC to allow the Lambda function to call the Dynatrace API.
Updates the VPC template version used to the latest version.

### Why did it change
To allow Dynatrace to work
  • Loading branch information
mthkbarber authored Dec 4, 2024
1 parent fe5190e commit f3467da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infra/terraform/base_stacks/vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resource "aws_cloudformation_stack" "vpc" {

template_url = format(local.preformat_template_url,
"vpc", # https://github.com/govuk-one-login/devplatform-deploy/tree/main/vpc
"DbePTnGzHq7c8HcbPN_Yb6SZs86Xth3r" # v2.5.3
"8ZS6GB2nOcOdOGWjGUpRjs19kqdcfIGg" # v2.7.0
)

capabilities = ["CAPABILITY_AUTO_EXPAND", "CAPABILITY_IAM"]
Expand All @@ -12,6 +12,7 @@ resource "aws_cloudformation_stack" "vpc" {
AllowRules = "pass tls $HOME_NET any -> $EXTERNAL_NET 443 (tls.sni; content:\".account.gov.uk\"; endswith; msg:\"Pass TLS to *.account.gov.uk\"; flow:established; sid:2001; rev:1;)"
CloudFormationEndpointEnabled = "Yes"
DynamoDBApiEnabled = "Yes"
DynatraceApiEnabled = "Yes"
ExecuteApiGatewayEnabled = "Yes"
KMSApiEnabled = "Yes"
LogsApiEnabled = "Yes"
Expand Down

0 comments on commit f3467da

Please sign in to comment.