@@ -54,7 +54,7 @@ resource "aws_vpc_endpoint" "sqs_endpoint" {
5454 {
5555 Effect = " Allow"
5656 Principal = {
57- AWS = " arn:aws:iam::${ local . dspp_core_account_id } :root"
57+ AWS = " arn:aws:iam::${ local . immunisation_account_id } :root"
5858 },
5959 Action = [
6060 " sqs:SendMessage" ,
@@ -84,7 +84,7 @@ resource "aws_vpc_endpoint" "s3_endpoint" {
8484 {
8585 Effect = " Allow"
8686 Principal = {
87- AWS = " arn:aws:iam::${ local . dspp_core_account_id } :root"
87+ AWS = " arn:aws:iam::${ local . immunisation_account_id } :root"
8888 },
8989 Action = [
9090 " s3:GetObject" ,
@@ -117,7 +117,7 @@ resource "aws_vpc_endpoint" "kinesis_endpoint" {
117117 {
118118 Effect = " Allow" ,
119119 Principal = {
120- AWS = " arn:aws:iam::${ local . dspp_core_account_id } :root"
120+ AWS = " arn:aws:iam::${ local . immunisation_account_id } :root"
121121 },
122122 Action = [
123123 " firehose:ListDeliveryStreams" ,
@@ -147,7 +147,7 @@ resource "aws_vpc_endpoint" "dynamodb" {
147147 {
148148 " Effect" : " Allow" ,
149149 " Principal" : {
150- AWS = " arn:aws:iam::${ local . dspp_core_account_id } :root"
150+ AWS = " arn:aws:iam::${ local . immunisation_account_id } :root"
151151 },
152152 " Action" : " *" ,
153153 " Resource" : " *"
@@ -215,7 +215,7 @@ resource "aws_vpc_endpoint" "kinesis_stream_endpoint" {
215215 {
216216 Effect = " Allow" ,
217217 Principal = {
218- AWS = " arn:aws:iam::${ local . dspp_core_account_id } :root"
218+ AWS = " arn:aws:iam::${ local . immunisation_account_id } :root"
219219 },
220220 Action = [
221221 " kinesis:ListShards" ,
@@ -254,7 +254,7 @@ resource "aws_vpc_endpoint" "kms_endpoint" {
254254 {
255255 Effect = " Allow" ,
256256 Principal = {
257- AWS = " arn:aws:iam::${ local . dspp_core_account_id } :root"
257+ AWS = " arn:aws:iam::${ local . immunisation_account_id } :root"
258258 },
259259 Action = [
260260 " kms:Decrypt" ,
0 commit comments