provider "aws" { } variable "stage" { type = string description = "stage" default = "beta" } resource "random_uuid" "unique_id" { keepers = { my_key = "my_key" } } resource "aws_iam_role" "iam_for_lambda" { name = "iam_for_lambda_${random_uuid.unique_id.result}" assume_role_policy = <