Skip to content

Commit

Permalink
Merge pull request #3 from kumarvna/develop
Browse files Browse the repository at this point in the history
updating code to support azure provider v3.0
  • Loading branch information
kumarvna authored Nov 2, 2022
2 parents ac7b130 + 3b60f27 commit ee23506
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 20 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ provider "azurerm" {
module "service-principal" {
source = "kumarvna/service-principal/azuread"
version = "2.2.0"
version = "2.3.0"
service_principal_name = "simple-appaccess"
Expand Down Expand Up @@ -47,7 +47,7 @@ provider "azurerm" {
module "service-principal" {
source = "kumarvna/service-principal/azuread"
version = "2.2.0"
version = "2.3.0"
service_principal_name = "simple-appaccess"
enable_service_principal_certificate = true
Expand Down Expand Up @@ -97,7 +97,7 @@ You can set the scope at the level of the subscription, resource group, or resou
```hcl
module "service-principal" {
source = "kumarvna/service-principal/azuread"
version = "2.2.0"
version = "2.3.0"
# .... omitted
Expand All @@ -115,16 +115,16 @@ module "service-principal" {

Name | Version
-----|--------
terraform | >= 0.13
azurerm | >= 2.59.0
terraform | >= 1.1.9
azurerm | >= 3.28.0

## Providers

| Name | Version |
|------|---------|
azurerm | >= 2.59.0
azurerm | >= 3.28.0
random | >= 3.1.0
azuread | >= 2.7.0
azuread | >= 2.30.0
time | >= 0.7.1

## Inputs
Expand Down
5 changes: 2 additions & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ provider "azurerm" {
module "service-principal" {
source = "kumarvna/service-principal/azuread"
version = "2.2.0"
version = "2.3.0"
service_principal_name = "simple-appaccess"
password_rotation_in_years = 1
Expand All @@ -40,7 +39,7 @@ provider "azurerm" {
module "service-principal" {
source = "kumarvna/service-principal/azuread"
version = "2.2.0"
version = "2.3.0"
service_principal_name = "simple-appaccess"
enable_service_principal_certificate = true
Expand Down
4 changes: 2 additions & 2 deletions examples/service_principal_with_certificate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ provider "azurerm" {
module "service-principal" {
source = "kumarvna/service-principal/azuread"
version = "2.2.0"
version = "2.3.0"
service_principal_name = "simple-appaccess"
enable_service_principal_certificate = true
Expand All @@ -39,7 +39,7 @@ provider "azurerm" {
module "service-principal" {
source = "kumarvna/service-principal/azuread"
version = "2.2.0"
version = "2.3.0"
service_principal_name = "simple-appaccess"
enable_service_principal_certificate = true
Expand Down
2 changes: 1 addition & 1 deletion examples/service_principal_with_certificate/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ provider "azurerm" {

module "service-principal" {
source = "kumarvna/service-principal/azuread"
version = "2.2.0"
version = "2.3.0"

service_principal_name = "simple-appaccess"
enable_service_principal_certificate = true
Expand Down
3 changes: 1 addition & 2 deletions examples/service_principal_with_password/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ provider "azurerm" {
module "service-principal" {
source = "kumarvna/service-principal/azuread"
version = "2.2.0"
version = "2.3.0"
service_principal_name = "simple-appaccess"
password_rotation_in_years = 1
Expand Down
3 changes: 1 addition & 2 deletions examples/service_principal_with_password/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ provider "azurerm" {

module "service-principal" {
source = "kumarvna/service-principal/azuread"
version = "2.2.0"

version = "2.3.0"

service_principal_name = "simple-appaccess"
password_rotation_in_years = 1
Expand Down
6 changes: 3 additions & 3 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ terraform {
required_providers {
azuread = {
source = "hashicorp/azuread"
version = ">= 2.7.0"
version = ">= 2.30.0"
}
azurerm = {
source = "hashicorp/azurerm"
version = ">= 2.59.0"
version = ">= 3.28.0"
}
random = {
source = "hashicorp/random"
Expand All @@ -17,5 +17,5 @@ terraform {
version = ">= 0.7.1"
}
}
required_version = ">= 0.13"
required_version = ">= 1.1.9"
}

0 comments on commit ee23506

Please sign in to comment.