Skip to content

Commit 4a12ec5

Browse files
feat(secret): update
1 parent 283cd07 commit 4a12ec5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

test/terraform/fargate/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,6 @@ module "agent_control_infra" {
101101
canaries_security_group = var.canaries_security_group
102102
oidc_repository = var.oidc_repository
103103
oidc_role_name = var.oidc_role_name
104+
task_runtime_custom_policies = var.task_runtime_custom_policies
104105
tags = var.tags
105106
}

test/terraform/fargate/vars.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@ variable "additional_efs_security_group_rules" {
133133
# OIDC permissions
134134
#######################################
135135

136+
variable "task_runtime_custom_policies" {
137+
type = list(string)
138+
description = "Custom policies for task runtime as JSON strings."
139+
default = [
140+
"{ \"Statement\": [{ \"Effect\": \"Allow\", \"Action\": \"eks:*\", \"Resource\": \"*\" }] }",
141+
"{ \"Statement\": [{ \"Effect\": \"Allow\", \"Action\": \"ec2:*\", \"Resource\": \"*\" }] }"
142+
]
143+
}
144+
136145
variable "oidc_repository" {
137146
default = "repo:newrelic/newrelic-super-agent:*"
138147
}

0 commit comments

Comments
 (0)