data "aws_ebs_volume" "${ebs_volume}" {
          most_recent = true
          filter {
              name = "volume-type"
              values = ["gp2"]
          }
          filter {
              name = "tag:${Name}"
              values = ["${Example}"]
          }
      }
      Terraform language logo

      aws_ebs_volume

      Terraform snippets

      This code creates an Amazon EBS volume with the name "volume-type" and the tag "Example".

      Shortcut: tf_aws_ebs_volume

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.