We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cff34d3 commit a10ce74Copy full SHA for a10ce74
terraform/account-wide-infrastructure/mgmt/data.tf
@@ -2,6 +2,13 @@ data "aws_caller_identity" "current" {}
2
3
data "aws_region" "current" {}
4
5
+data "external" "current-info" {
6
+ program = [
7
+ "bash",
8
+ "../../../scripts/get-current-info.sh",
9
+ ]
10
+}
11
+
12
data "aws_dynamodb_table" "terraform_state_lock" {
13
name = "${local.project}--terraform-state-lock"
14
}
terraform/account-wide-infrastructure/mgmt/outputs.tf
@@ -0,0 +1,7 @@
1
+output "version" {
+ value = data.external.current-info.result.version
+output "caller_identity" {
+ value = data.aws_caller_identity.current
0 commit comments