Skip to content

Commit

Permalink
Add azurerm provider
Browse files Browse the repository at this point in the history
  • Loading branch information
rswrz committed Jun 18, 2024
1 parent 087f6e4 commit 2354f83
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 15 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
terraform {
required_version = ">= 1.0"
required_version = "~> 1.0"

required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.0"
}
}
}

provider "azurerm" {
features {}
}

data "azurerm_client_config" "current" {
}
4 changes: 4 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
output "hello_world" {
value = "Hello World!"
}

output "client_id" {
value = data.azurerm_client_config.current.client_id
}

0 comments on commit 2354f83

Please sign in to comment.