2023-07-18 16:33:24 -07:00
|
|
|
# Copyright (c) HashiCorp, Inc.
|
|
|
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
|
|
|
|
|
data "aws_caller_identity" "current" {}
|
|
|
|
|
|
|
|
|
|
resource "random_id" "prefix" {
|
2024-09-25 12:04:00 -07:00
|
|
|
prefix = "aws-plugin-e2e-test"
|
2023-07-18 16:33:24 -07:00
|
|
|
byte_length = 4
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "iam_user_count" {
|
|
|
|
|
default = 6
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
locals {
|
2024-09-25 12:04:00 -07:00
|
|
|
hashicorp_email = split(":", data.aws_caller_identity.current.user_id)[1]
|
2023-07-18 16:33:24 -07:00
|
|
|
tags = {
|
2024-09-25 12:04:00 -07:00
|
|
|
User = split(":", data.aws_caller_identity.current.user_id)[1]
|
|
|
|
|
Repo = "boundary-plugin-aws"
|
|
|
|
|
Environment = "Demo"
|
2023-07-18 16:33:24 -07:00
|
|
|
}
|
2024-09-25 12:04:00 -07:00
|
|
|
}
|