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

Enhacement | container-registry : Update versions constraint #473

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

rodriguez-matias
Copy link
Contributor

@rodriguez-matias rodriguez-matias commented Feb 8, 2023

What?

  • Update and test Ref Architecture layers with tf latest versions, Leverage CLI latest version and SSO feature enabled.

How?

  • Update tf version constrains ~> v1.3.5
  • Update tf aws provider constrains ~> v4.10

Environment Versions

  • Leverage CLI : v1.9.2
  • binbash/leverage-toolbox: v1.3.5-0.1.4
  • Terraform: v1.3.5
  • provider registry.terraform.io/hashicorp/aws v4.48.0
  • provider registry.terraform.io/hashicorp/template v2.2.0

Layers

/shared/us-east-1/container-registry
/shared/us-east-2/container-registry

Why?

Keeping Leverage Reference Architecture up to date.

References

GitHub issue #370

@rodriguez-matias rodriguez-matias requested a review from a team as a code owner February 8, 2023 12:59
@github-actions
Copy link

github-actions bot commented Feb 8, 2023

💰 Infracost estimate: monthly cost will not change

Project Previous New Diff
All projects $1,885 $1,885 $0

129 projects have no cost estimate changes.

Infracost output
──────────────────────────────────

The following projects have no cost estimate changes: binbashar/le-tf-infra-aws/apps-devstg/global/base-identities (Module path: apps-devstg/global/base-identities), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/backups -- (Module path: apps-devstg/us-east-1/backups --), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/base-network (Module path: apps-devstg/us-east-1/base-network), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/base-tf-backend (Module path: apps-devstg/us-east-1/base-tf-backend), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/cdn-s3-frontend -- (Module path: apps-devstg/us-east-1/cdn-s3-frontend --), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/databases-aurora (Module path: apps-devstg/us-east-1/databases-aurora), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/databases-mysql -- (Module path: apps-devstg/us-east-1/databases-mysql --), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/databases-pgsql -- (Module path: apps-devstg/us-east-1/databases-pgsql --), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/ec2-fleet-ansible -- (Module path: apps-devstg/us-east-1/ec2-fleet-ansible --), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-demoapps/cluster (Module path: apps-devstg/us-east-1/k8s-eks-demoapps/cluster), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-demoapps/identities (Module path: apps-devstg/us-east-1/k8s-eks-demoapps/identities), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-demoapps/k8s-components (Module path: apps-devstg/us-east-1/k8s-eks-demoapps/k8s-components), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-demoapps/k8s-workloads (Module path: apps-devstg/us-east-1/k8s-eks-demoapps/k8s-workloads), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-demoapps/network (Module path: apps-devstg/us-east-1/k8s-eks-demoapps/network), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-v1.17/cluster (Module path: apps-devstg/us-east-1/k8s-eks-v1.17/cluster), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-v1.17/identities (Module path: apps-devstg/us-east-1/k8s-eks-v1.17/identities), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-v1.17/k8s-resources (Module path: apps-devstg/us-east-1/k8s-eks-v1.17/k8s-resources), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-v1.17/k8s-workloads (Module path: apps-devstg/us-east-1/k8s-eks-v1.17/k8s-workloads), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks-v1.17/network (Module path: apps-devstg/us-east-1/k8s-eks-v1.17/network), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks/cluster (Module path: apps-devstg/us-east-1/k8s-eks/cluster), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks/identities (Module path: apps-devstg/us-east-1/k8s-eks/identities), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks/k8s-components (Module path: apps-devstg/us-east-1/k8s-eks/k8s-components), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks/k8s-workloads (Module path: apps-devstg/us-east-1/k8s-eks/k8s-workloads), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-eks/network (Module path: apps-devstg/us-east-1/k8s-eks/network), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-kind/k8s-resources (Module path: apps-devstg/us-east-1/k8s-kind/k8s-resources), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-kops --/1-prerequisites (Module path: apps-devstg/us-east-1/k8s-kops --/1-prerequisites), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/k8s-kops --/2-kops (Module path: apps-devstg/us-east-1/k8s-kops --/2-kops), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/notifications (Module path: apps-devstg/us-east-1/notifications), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/security-audit (Module path: apps-devstg/us-east-1/security-audit), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/security-base (Module path: apps-devstg/us-east-1/security-base), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/security-certs (Module path: apps-devstg/us-east-1/security-certs), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/security-compliance -- (Module path: apps-devstg/us-east-1/security-compliance --), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/security-firewall -- (Module path: apps-devstg/us-east-1/security-firewall --), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/security-keys (Module path: apps-devstg/us-east-1/security-keys), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/storage/s3-bucket-demo-files -- (Module path: apps-devstg/us-east-1/storage/s3-bucket-demo-files --), binbashar/le-tf-infra-aws/apps-devstg/us-east-1/tools-cloud-nuke (Module path: apps-devstg/us-east-1/tools-cloud-nuke), binbashar/le-tf-infra-aws/apps-devstg/us-east-2/k8s-eks-v1.17/cluster (Module path: apps-devstg/us-east-2/k8s-eks-v1.17/cluster), binbashar/le-tf-infra-aws/apps-devstg/us-east-2/k8s-eks-v1.17/identities (Module path: apps-devstg/us-east-2/k8s-eks-v1.17/identities), binbashar/le-tf-infra-aws/apps-devstg/us-east-2/k8s-eks-v1.17/k8s-resources (Module path: apps-devstg/us-east-2/k8s-eks-v1.17/k8s-resources), binbashar/le-tf-infra-aws/apps-devstg/us-east-2/k8s-eks-v1.17/k8s-workloads (Module path: apps-devstg/us-east-2/k8s-eks-v1.17/k8s-workloads), binbashar/le-tf-infra-aws/apps-devstg/us-east-2/k8s-eks-v1.17/network (Module path: apps-devstg/us-east-2/k8s-eks-v1.17/network), binbashar/le-tf-infra-aws/apps-devstg/us-east-2/security-compliance -- (Module path: apps-devstg/us-east-2/security-compliance --), binbashar/le-tf-infra-aws/apps-devstg/us-east-2/security-keys (Module path: apps-devstg/us-east-2/security-keys), binbashar/le-tf-infra-aws/apps-prd/global/base-identities (Module path: apps-prd/global/base-identities), binbashar/le-tf-infra-aws/apps-prd/us-east-1/backups -- (Module path: apps-prd/us-east-1/backups --), binbashar/le-tf-infra-aws/apps-prd/us-east-1/base-network (Module path: apps-prd/us-east-1/base-network), binbashar/le-tf-infra-aws/apps-prd/us-east-1/base-tf-backend (Module path: apps-prd/us-east-1/base-tf-backend), binbashar/le-tf-infra-aws/apps-prd/us-east-1/cdn-s3-frontend -- (Module path: apps-prd/us-east-1/cdn-s3-frontend --), binbashar/le-tf-infra-aws/apps-prd/us-east-1/ec2-fleet -- (Module path: apps-prd/us-east-1/ec2-fleet --), binbashar/le-tf-infra-aws/apps-prd/us-east-1/notifications (Module path: apps-prd/us-east-1/notifications), binbashar/le-tf-infra-aws/apps-prd/us-east-1/security-audit (Module path: apps-prd/us-east-1/security-audit), binbashar/le-tf-infra-aws/apps-prd/us-east-1/security-base (Module path: apps-prd/us-east-1/security-base), binbashar/le-tf-infra-aws/apps-prd/us-east-1/security-certs (Module path: apps-prd/us-east-1/security-certs), binbashar/le-tf-infra-aws/apps-prd/us-east-1/security-compliance -- (Module path: apps-prd/us-east-1/security-compliance --), binbashar/le-tf-infra-aws/apps-prd/us-east-1/security-keys (Module path: apps-prd/us-east-1/security-keys), binbashar/le-tf-infra-aws/management/global/base-identities (Module path: management/global/base-identities), binbashar/le-tf-infra-aws/management/global/cost-mgmt (Module path: management/global/cost-mgmt), binbashar/le-tf-infra-aws/management/global/organizations (Module path: management/global/organizations), binbashar/le-tf-infra-aws/management/global/sso (Module path: management/global/sso), binbashar/le-tf-infra-aws/management/us-east-1/backups (Module path: management/us-east-1/backups), binbashar/le-tf-infra-aws/management/us-east-1/base-tf-backend (Module path: management/us-east-1/base-tf-backend), binbashar/le-tf-infra-aws/management/us-east-1/firewall-manager (Module path: management/us-east-1/firewall-manager), binbashar/le-tf-infra-aws/management/us-east-1/notifications (Module path: management/us-east-1/notifications), binbashar/le-tf-infra-aws/management/us-east-1/security-audit (Module path: management/us-east-1/security-audit), binbashar/le-tf-infra-aws/management/us-east-1/security-base (Module path: management/us-east-1/security-base), binbashar/le-tf-infra-aws/management/us-east-1/security-compliance (Module path: management/us-east-1/security-compliance), binbashar/le-tf-infra-aws/management/us-east-1/security-keys (Module path: management/us-east-1/security-keys), binbashar/le-tf-infra-aws/management/us-east-1/security-monitoring (Module path: management/us-east-1/security-monitoring), binbashar/le-tf-infra-aws/management/us-east-2/security-monitoring -- (Module path: management/us-east-2/security-monitoring --), binbashar/le-tf-infra-aws/network/global/base-identities (Module path: network/global/base-identities), binbashar/le-tf-infra-aws/network/us-east-1/base-network (Module path: network/us-east-1/base-network), binbashar/le-tf-infra-aws/network/us-east-1/base-tf-backend (Module path: network/us-east-1/base-tf-backend), binbashar/le-tf-infra-aws/network/us-east-1/network-firewall (Module path: network/us-east-1/network-firewall), binbashar/le-tf-infra-aws/network/us-east-1/notifications (Module path: network/us-east-1/notifications), binbashar/le-tf-infra-aws/network/us-east-1/security-audit (Module path: network/us-east-1/security-audit), binbashar/le-tf-infra-aws/network/us-east-1/security-base (Module path: network/us-east-1/security-base), binbashar/le-tf-infra-aws/network/us-east-1/security-compliance -- (Module path: network/us-east-1/security-compliance --), binbashar/le-tf-infra-aws/network/us-east-1/security-keys (Module path: network/us-east-1/security-keys), binbashar/le-tf-infra-aws/network/us-east-1/transit-gateway (Module path: network/us-east-1/transit-gateway), binbashar/le-tf-infra-aws/network/us-east-2/base-network (Module path: network/us-east-2/base-network), binbashar/le-tf-infra-aws/network/us-east-2/network-firewall (Module path: network/us-east-2/network-firewall), binbashar/le-tf-infra-aws/network/us-east-2/security-compliance -- (Module path: network/us-east-2/security-compliance --), binbashar/le-tf-infra-aws/network/us-east-2/security-keys (Module path: network/us-east-2/security-keys), binbashar/le-tf-infra-aws/network/us-east-2/transit-gateway (Module path: network/us-east-2/transit-gateway), binbashar/le-tf-infra-aws/security/global/base-identities (Module path: security/global/base-identities), binbashar/le-tf-infra-aws/security/us-east-1/base-tf-backend (Module path: security/us-east-1/base-tf-backend), binbashar/le-tf-infra-aws/security/us-east-1/firewall-manager (Module path: security/us-east-1/firewall-manager), binbashar/le-tf-infra-aws/security/us-east-1/notifications (Module path: security/us-east-1/notifications), binbashar/le-tf-infra-aws/security/us-east-1/security-audit (Module path: security/us-east-1/security-audit), binbashar/le-tf-infra-aws/security/us-east-1/security-base (Module path: security/us-east-1/security-base), binbashar/le-tf-infra-aws/security/us-east-1/security-compliance -- (Module path: security/us-east-1/security-compliance --), binbashar/le-tf-infra-aws/security/us-east-1/security-keys (Module path: security/us-east-1/security-keys), binbashar/le-tf-infra-aws/security/us-east-1/security-monitoring (Module path: security/us-east-1/security-monitoring), binbashar/le-tf-infra-aws/security/us-east-2/security-audit (Module path: security/us-east-2/security-audit), binbashar/le-tf-infra-aws/security/us-east-2/security-compliance -- (Module path: security/us-east-2/security-compliance --), binbashar/le-tf-infra-aws/security/us-east-2/security-monitoring -- (Module path: security/us-east-2/security-monitoring --), binbashar/le-tf-infra-aws/shared/global/base-dns/binbash.com.ar (Module path: shared/global/base-dns/binbash.com.ar), binbashar/le-tf-infra-aws/shared/global/base-identities (Module path: shared/global/base-identities), binbashar/le-tf-infra-aws/shared/us-east-1/backups (Module path: shared/us-east-1/backups), binbashar/le-tf-infra-aws/shared/us-east-1/base-network (Module path: shared/us-east-1/base-network), binbashar/le-tf-infra-aws/shared/us-east-1/base-tf-backend (Module path: shared/us-east-1/base-tf-backend), binbashar/le-tf-infra-aws/shared/us-east-1/container-registry (Module path: shared/us-east-1/container-registry), binbashar/le-tf-infra-aws/shared/us-east-1/ec2-fleet -- (Module path: shared/us-east-1/ec2-fleet --), binbashar/le-tf-infra-aws/shared/us-east-1/ec2-fleet-bastions -- (Module path: shared/us-east-1/ec2-fleet-bastions --), binbashar/le-tf-infra-aws/shared/us-east-1/k8s-eks-demoapps/identities (Module path: shared/us-east-1/k8s-eks-demoapps/identities), binbashar/le-tf-infra-aws/shared/us-east-1/notifications (Module path: shared/us-east-1/notifications), binbashar/le-tf-infra-aws/shared/us-east-1/secrets-manager (Module path: shared/us-east-1/secrets-manager), binbashar/le-tf-infra-aws/shared/us-east-1/security-audit (Module path: shared/us-east-1/security-audit), binbashar/le-tf-infra-aws/shared/us-east-1/security-base (Module path: shared/us-east-1/security-base), binbashar/le-tf-infra-aws/shared/us-east-1/security-compliance -- (Module path: shared/us-east-1/security-compliance --), binbashar/le-tf-infra-aws/shared/us-east-1/security-keys (Module path: shared/us-east-1/security-keys), binbashar/le-tf-infra-aws/shared/us-east-1/storage/backup-gdrive -- (Module path: shared/us-east-1/storage/backup-gdrive --), binbashar/le-tf-infra-aws/shared/us-east-1/storage/object-file-shares-for-users-list -- (Module path: shared/us-east-1/storage/object-file-shares-for-users-list --), binbashar/le-tf-infra-aws/shared/us-east-1/storage/object-file-shares-sftp-transfer-service -- (Module path: shared/us-east-1/storage/object-file-shares-sftp-transfer-service --), binbashar/le-tf-infra-aws/shared/us-east-1/tools-cloud-scheduler-stop-start (Module path: shared/us-east-1/tools-cloud-scheduler-stop-start), binbashar/le-tf-infra-aws/shared/us-east-1/tools-eskibana -- (Module path: shared/us-east-1/tools-eskibana --), binbashar/le-tf-infra-aws/shared/us-east-1/tools-github-selfhosted-runners (Module path: shared/us-east-1/tools-github-selfhosted-runners), binbashar/le-tf-infra-aws/shared/us-east-1/tools-jenkins -- (Module path: shared/us-east-1/tools-jenkins --), binbashar/le-tf-infra-aws/shared/us-east-1/tools-managedeskibana -- (Module path: shared/us-east-1/tools-managedeskibana --), binbashar/le-tf-infra-aws/shared/us-east-1/tools-prometheus-grafana -- (Module path: shared/us-east-1/tools-prometheus-grafana --), binbashar/le-tf-infra-aws/shared/us-east-1/tools-vault -- (Module path: shared/us-east-1/tools-vault --), binbashar/le-tf-infra-aws/shared/us-east-1/tools-vpn-server (Module path: shared/us-east-1/tools-vpn-server), binbashar/le-tf-infra-aws/shared/us-east-1/tools-webhooks -- (Module path: shared/us-east-1/tools-webhooks --), binbashar/le-tf-infra-aws/shared/us-east-2/base-network (Module path: shared/us-east-2/base-network), binbashar/le-tf-infra-aws/shared/us-east-2/container-registry (Module path: shared/us-east-2/container-registry), binbashar/le-tf-infra-aws/shared/us-east-2/security-compliance -- (Module path: shared/us-east-2/security-compliance --), binbashar/le-tf-infra-aws/shared/us-east-2/security-keys (Module path: shared/us-east-2/security-keys), binbashar/le-tf-infra-aws/shared/us-east-2/tools-eskibana -- (Module path: shared/us-east-2/tools-eskibana --), binbashar/le-tf-infra-aws/shared/us-east-2/tools-prometheus-grafana -- (Module path: shared/us-east-2/tools-prometheus-grafana --)
Run the following command to see their breakdown: infracost breakdown --path=/path/to/code

──────────────────────────────────
2246 cloud resources were detected:
∙ 574 were estimated, 442 of which include usage-based costs, see https://infracost.io/usage-file
∙ 1556 were free:
  ∙ 161 x aws_iam_role_policy_attachment
  ∙ 141 x aws_iam_role
  ∙ 121 x aws_security_group_rule
  ∙ 109 x aws_iam_policy
  ∙ 96 x aws_cloudwatch_log_metric_filter
  ∙ 58 x aws_route_table_association
  ∙ 58 x aws_subnet
  ∙ 50 x aws_route
  ∙ 47 x aws_iam_role_policy
  ∙ 40 x aws_network_acl_rule
  ∙ 34 x aws_ecr_lifecycle_policy
  ∙ 34 x aws_ecr_repository_policy
  ∙ 33 x aws_s3_bucket_public_access_block
  ∙ 32 x aws_security_group
  ∙ 30 x aws_lambda_permission
  ∙ 27 x aws_s3_bucket_policy
  ∙ 26 x aws_iam_access_key
  ∙ 26 x aws_iam_user
  ∙ 24 x aws_iam_group_policy_attachment
  ∙ 24 x aws_network_acl
  ∙ 24 x aws_route_table
  ∙ 22 x aws_vpc_peering_connection_options
  ∙ 20 x aws_vpc_endpoint
  ∙ 16 x aws_iam_user_login_profile
  ∙ 16 x aws_sns_topic_subscription
  ∙ 15 x aws_kms_alias
  ∙ 13 x aws_cloudwatch_event_target
  ∙ 13 x aws_kms_ciphertext
  ∙ 13 x aws_vpc_peering_connection_accepter
  ∙ 12 x aws_iam_instance_profile
  ∙ 12 x aws_internet_gateway
  ∙ 12 x aws_vpc
  ∙ 11 x aws_vpc_peering_connection
  ∙ 10 x aws_iam_group
  ∙ 10 x aws_iam_group_membership
  ∙ 9 x aws_iam_openid_connect_provider
  ∙ 9 x aws_iam_policy_attachment
  ∙ 8 x aws_config_configuration_recorder_status
  ∙ 8 x aws_config_delivery_channel
  ∙ 7 x aws_cloudwatch_event_rule
  ∙ 7 x aws_key_pair
  ∙ 7 x aws_route53_zone_association
  ∙ 7 x aws_ssm_parameter
  ∙ 6 x aws_ebs_encryption_by_default
  ∙ 6 x aws_iam_account_alias
  ∙ 6 x aws_iam_account_password_policy
  ∙ 6 x aws_s3_account_public_access_block
  ∙ 5 x aws_ec2_tag
  ∙ 5 x aws_eip
  ∙ 5 x aws_s3_bucket_ownership_controls
  ∙ 4 x aws_flow_log
  ∙ 4 x aws_iam_user_policy
  ∙ 4 x aws_launch_template
  ∙ 4 x aws_s3_bucket_acl
  ∙ 3 x aws_backup_plan
  ∙ 3 x aws_backup_selection
  ∙ 3 x aws_cloudfront_origin_access_identity
  ∙ 3 x aws_iam_service_linked_role
  ∙ 3 x aws_networkfirewall_rule_group
  ∙ 3 x aws_sns_topic_policy
  ∙ 2 x aws_acm_certificate
  ∙ 2 x aws_acm_certificate_validation
  ∙ 2 x aws_db_parameter_group
  ∙ 2 x aws_db_subnet_group
  ∙ 2 x aws_eip_association
  ∙ 2 x aws_transfer_ssh_key
  ∙ 2 x aws_transfer_user
  ∙ 1 x aws_apigatewayv2_integration
  ∙ 1 x aws_apigatewayv2_route
  ∙ 1 x aws_apigatewayv2_stage
  ∙ 1 x aws_backup_global_settings
  ∙ 1 x aws_backup_vault_notifications
  ∙ 1 x aws_cloudwatch_log_resource_policy
  ∙ 1 x aws_config_configuration_aggregator
  ∙ 1 x aws_db_option_group
  ∙ 1 x aws_lambda_event_source_mapping
  ∙ 1 x aws_lb_listener
  ∙ 1 x aws_networkfirewall_firewall_policy
  ∙ 1 x aws_s3_bucket_notification
  ∙ 1 x aws_secretsmanager_secret_policy
  ∙ 1 x aws_secretsmanager_secret_version
  ∙ 1 x aws_sqs_queue_policy
  ∙ 1 x aws_wafv2_web_acl_association
  ∙ 1 x aws_wafv2_web_acl_logging_configuration
∙ 116 are not supported yet, see https://infracost.io/requested-resources:
  ∙ 23 x aws_ssoadmin_account_assignment
  ∙ 13 x aws_organizations_policy_attachment
  ∙ 10 x aws_guardduty_member
  ∙ 8 x aws_ssoadmin_permission_set
  ∙ 7 x aws_route53_vpc_association_authorization
  ∙ 6 x aws_organizations_account
  ∙ 5 x aws_fms_policy
  ∙ 5 x aws_organizations_organizational_unit
  ∙ 5 x aws_ssoadmin_managed_policy_attachment
  ∙ 4 x aws_guardduty_detector
  ∙ 4 x aws_organizations_policy
  ∙ 4 x aws_s3_bucket_server_side_encryption_configuration
  ∙ 3 x aws_s3_bucket_replication_configuration
  ∙ 3 x aws_ssoadmin_permission_set_inline_policy
  ∙ 2 x aws_budgets_budget
  ∙ 2 x aws_guardduty_organization_admin_account
  ∙ 2 x aws_guardduty_organization_configuration
  ∙ 2 x aws_s3_bucket_versioning
  ∙ 1 x aws_accessanalyzer_analyzer
  ∙ 1 x aws_fms_admin_account
  ∙ 1 x aws_organizations_organization
  ∙ 1 x aws_route53_resolver_firewall_domain_list
  ∙ 1 x aws_route53_resolver_firewall_rule
  ∙ 1 x aws_route53_resolver_firewall_rule_group
  ∙ 1 x aws_s3_bucket_logging
  ∙ 1 x aws_s3_object

This comment will be updated when the cost estimate changes.

Is this comment useful? Yes, No, Other

@rodriguez-matias rodriguez-matias changed the title feat(container-registry): update layer versions Enhacement | container-registry : Update versions constraint Feb 8, 2023
@rodriguez-matias rodriguez-matias self-assigned this Feb 8, 2023
@rodriguez-matias rodriguez-matias added enhancement New feature or request patch labels Feb 8, 2023
@rodriguez-matias
Copy link
Contributor Author

terraform commands

$ leverage terraform init

[10:50:10.042] INFO     Checking environment name definition in account.tfvars...
[10:50:10.051] INFO     ✔ OK
[10:50:10.055] INFO     Checking backend key...
[10:50:10.058] INFO     Found: 'shared/container-registry-dr/terraform.tfstate'
[10:50:10.060] INFO     ✔ OK
[10:50:10.065] INFO     Checking backend.tfvars:
[10:50:10.067] INFO     Checking if profile starts with bb-shared...
[10:50:10.070] INFO     ✔ OK
[10:50:10.074] INFO     Checking if bucket starts with bb-shared...
[10:50:10.078] INFO     ✔ OK
[10:50:10.080] INFO     Checking if dynamodb table starts with bb-shared...
[10:50:10.083] INFO     ✔ OK
[13:50:15]    INFO	Attempting to get temporary credentials for shared account.
[13:50:32]    INFO	Credentials for shared account written successfully.
Initializing modules...
Downloading git::https://github.com/binbashar/terraform-aws-ecr-lifecycle-policy-rule.git?ref=1.1.0 for ecr_lifecycle_rule_default_policy_bycount...
- ecr_lifecycle_rule_default_policy_bycount in .terraform/modules/ecr_lifecycle_rule_default_policy_bycount
Downloading git::https://github.com/binbashar/terraform-aws-ecr-lifecycle-policy-rule.git?ref=1.1.0 for ecr_lifecycle_rule_default_policy_bydate...
- ecr_lifecycle_rule_default_policy_bydate in .terraform/modules/ecr_lifecycle_rule_default_policy_bydate
Downloading git::https://github.com/binbashar/terraform-aws-ecr-cross-account.git?ref=1.1.0 for ecr_repositories...
- ecr_repositories in .terraform/modules/ecr_repositories

Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Finding hashicorp/aws versions matching "~> 4.10"...
- Finding latest version of hashicorp/template...
- Installing hashicorp/aws v4.53.0...
- Installed hashicorp/aws v4.53.0 (signed by HashiCorp)
- Installing hashicorp/template v2.2.0...
- Installed hashicorp/template v2.2.0 (signed by HashiCorp)

Terraform has created a lock file .terraform.lock.hcl to record the provider
selections it made above. Include this file in your version control repository
so that Terraform can guarantee to make the same selections by default when
you run "terraform init" in the future.

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

$ leverage terraform plan

[13:54:00]    INFO	Attempting to get temporary credentials for shared account.
[13:54:03]    INFO	Using already configured temporary credentials.
Acquiring state lock. This may take a few moments...
module.ecr_lifecycle_rule_default_policy_bycount.data.template_file.lifecycle_policy_imageCountMoreThan_untagged_or_any[0]: Reading...
module.ecr_lifecycle_rule_default_policy_bydate.data.template_file.lifecycle_policy_sinceImagePushed_untagged_or_any[0]: Reading...
module.ecr_lifecycle_rule_default_policy_bycount.data.template_file.lifecycle_policy_imageCountMoreThan_untagged_or_any[0]: Read complete after 0s [id=1aecXXXXXXXXXXXXX9d]
module.ecr_lifecycle_rule_default_policy_bydate.data.template_file.lifecycle_policy_sinceImagePushed_untagged_or_any[0]: Read complete after 0s [id=4705004aa85ade91fXXXXXXXXXXX010e70bb5ff]
data.aws_caller_identity.current: Reading...
data.aws_caller_identity.current: Read complete after 0s [id=76XXXXXXXX8]
module.ecr_repositories["weaveworksdemos_userdb"].data.template_file.lifecycle_policy_rules[0]: Reading...
module.ecr_repositories["weaveworksdemos_orders"].data.template_file.lifecycle_policy_rules[0]: Reading...
module.ecr_repositories["weaveworksdemos_shipping"].data.template_file.lifecycle_policy_rules[0]: Reading...
module.ecr_repositories["weaveworksdemos_user"].data.template_file.lifecycle_policy_rules[0]: Reading...
module.ecr_repositories["weaveworksdemos_queuemaster"].data.template_file.lifecycle_policy_rules[0]: Reading...
module.ecr_repositories["weaveworksdemos_payment"].data.template_file.lifecycle_policy_rules[0]: Reading...
module.ecr_repositories["weaveworksdemos_cataloguedb"].data.template_file.lifecycle_policy_rules[0]: Reading...
.
.
.
module.ecr_repositories["weaveworksdemos_frontend"].aws_ecr_lifecycle_policy.this[0]: Refreshing state... [id=weaveworksdemos/front-end]
module.ecr_repositories["weaveworksdemos_payment"].aws_ecr_lifecycle_policy.this[0]: Refreshing state... [id=weaveworksdemos/payment]
module.ecr_repositories["weaveworksdemos_queuemaster"].aws_ecr_lifecycle_policy.this[0]: Refreshing state... [id=weaveworksdemos/queue-master]
module.ecr_repositories["weaveworksdemos_orders"].aws_ecr_lifecycle_policy.this[0]: Refreshing state... [id=weaveworksdemos/orders]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
╷
│ Warning: Argument is deprecated
│
│   with module.ecr_repositories["weaveworksdemos_carts"].data.aws_iam_policy_document.ecr_read_and_write_perms[0],
│   on .terraform/modules/ecr_repositories/main.tf line 51, in data "aws_iam_policy_document" "ecr_read_and_write_perms":
│   51:   source_json = data.aws_iam_policy_document.ecs_ecr_read_perms[0].json
│
│ Use the attribute "source_policy_documents" instead.
│
│ (and 9 more similar warnings elsewhere)
╵
Releasing state lock. This may take a few moments...

@rodriguez-matias rodriguez-matias merged commit c8e6bb2 into master Feb 8, 2023
@rodriguez-matias rodriguez-matias deleted the ISSUE-370/ecr/update-layer-version branch February 8, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants