cds-snc / simplify-privacy-statements-V2

starter-app repo based version of privacy app.
https://simplify-privacy-statements.alpha.canada.ca
MIT License
5 stars 1 forks source link

added efs full access #240

Closed omartehsin1 closed 1 year ago

omartehsin1 commented 1 year ago

Summary | Résumé

1-3 sentence description of the changed you're proposing, including a link to a GitHub Issue # or Trello card if applicable.


Description en 1 à 3 phrases de la modification proposée, avec un lien vers le problème (« issue ») GitHub ou la fiche Trello, le cas échéant.

Test instructions | Instructions pour tester la modification

Sequential steps (1., 2., 3., ...) that describe how to test this change. This will help a developer test things out without too much detective work. Also, include any environmental setup steps that aren't in the normal README steps and/or any time-based elements that this requires.


Étapes consécutives (1., 2., 3., …) qui décrivent la façon de tester la modification. Elles aideront les développeurs à faire des tests sans avoir à jouer au détective. Veuillez aussi inclure toutes les étapes de configuration de l’environnement qui ne font pas partie des étapes normales dans le fichier README et tout élément temporel requis.

github-actions[bot] commented 1 year ago

Production: app

✅   Terraform Format: success ❌   Terraform Plan: failed ❌   Conftest: failed

Show plan ```terraform module.generated_statement_lambda.data.aws_iam_policy_document.service_principal: Reading... module.generated_statement_lambda.data.aws_iam_policy.lambda_insights[0]: Reading... module.generated_statement_lambda.data.aws_iam_policy_document.vpc_policies[0]: Reading... module.generated_statement_lambda.aws_cloudwatch_log_group.this: Refreshing state... [id=/aws/lambda/generated_statement_lambda_function] data.aws_iam_policy.efs_full_access: Reading... module.generated_statement_lambda.data.aws_iam_policy_document.service_principal: Read complete after 0s [id=3693445097] module.generated_statement_lambda.data.aws_iam_policy_document.vpc_policies[0]: Read complete after 0s [id=459798326] module.generated_statement_lambda.aws_iam_role.this: Refreshing state... [id=generated_statement_lambda_function] module.generated_statement_lambda.aws_iam_policy.vpc_policies[0]: Refreshing state... [id=arn:aws:iam::414662622316:policy/generated_statement_lambda_function_vpc] data.aws_iam_policy.efs_full_access: Read complete after 0s [id=arn:aws:iam::aws:policy/AmazonElasticFileSystemFullAccess] module.generated_statement_lambda.aws_iam_role_policy_attachment.AWSLambdaVPCAccessExecutionRole[0]: Refreshing state... [id=generated_statement_lambda_function-20230320175434748800000002] module.generated_statement_lambda.aws_iam_role_policy_attachment.vpc_policies[0]: Refreshing state... [id=generated_statement_lambda_function-20230320175434713100000001] module.generated_statement_lambda.data.aws_iam_policy.lambda_insights[0]: Read complete after 1s [id=arn:aws:iam::aws:policy/CloudWatchLambdaInsightsExecutionRolePolicy] module.generated_statement_lambda.aws_iam_role_policy_attachment.lambda_insights[0]: Refreshing state... [id=generated_statement_lambda_function-20230320175434807100000003] Error: Invalid value for input variable on lambda.tf line 24, in module "generated_statement_lambda": 24: policies = [ 25: data.aws_iam_policy.efs_full_access 26: ] The given value is not suitable for module.generated_statement_lambda.var.policies declared at .terraform/modules/generated_statement_lambda/lambda/input.tf:106,1-20: element 0: string required. time=2023-03-20T20:12:55Z level=error msg=Terraform invocation failed in /home/runner/work/simplify-privacy-statements-V2/simplify-privacy-statements-V2/terragrunt/env/production/app/.terragrunt-cache/zbuHfS11RM0Tu3IHtYBa_qGVs-w/Dhze7ECGJbebQWUJPk1ZRCaoja0/app prefix=[/home/runner/work/simplify-privacy-statements-V2/simplify-privacy-statements-V2/terragrunt/env/production/app] time=2023-03-20T20:12:55Z level=error msg=1 error occurred: * exit status 1 ```