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

Warning: Deprecated Resource aws_subnet_ids data source has been deprecated #22

Open
davidjeddy opened this issue Oct 7, 2022 · 0 comments

Comments

@davidjeddy
Copy link

davidjeddy commented Oct 7, 2022

Version: 0.4.2

Config

module "ssm" {
  source                    = "bridgecrewio/session-manager/aws"
  version                   = "0.4.2"

  enable_log_to_cloudwatch  = true
  enable_log_to_s3          = true
  vpc_endpoints_enabled     = true
  vpc_endpoint_private_dns_enabled = true

  access_log_bucket_name    = jssm-access-logs"
  bucket_name               = ssm-sm-logs
  kms_key_alias             = ssm-sm
  kms_key_deletion_window   = var.delete_wait_timeout
  vpc_id                    = module.vpc.vpc_id
}

Output

│ Warning: Deprecated Resource
│ 
│   with module.ssm.data.aws_subnet_ids.selected,
│   on .terraform/modules/ssm/vpce.tf line 6, in data "aws_subnet_ids" "selected":
│    6: data "aws_subnet_ids" "selected" {
│ 
│ The aws_subnet_ids data source has been deprecated and will be removed in a future version. Use the aws_subnets data source instead.
│ 
│ (and one more similar warning elsewhere)
╵
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant