Terraform模块,用于将敏感数据作为环境变量进行注入 如果您需要将一系列秘密环境变量(例如API密钥,秘密令牌等)注入到,则此模块非常有用。 使用范例 locals { environment = " staging " secret_app_env_vars = { AWS_ACCESS_KEY_ID = " some_access_key " AWS_SECRET_ACCESS_KEY = " some_secret_access_key " STRIPE_SECRET_KEY = " sk_live_xxxxxxxxxxxxxxxxx