Skip to content

Commit

Permalink
Upgrade to v2.10.0 of the Azure AD Terraform provider. (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkodroff authored Nov 22, 2021
1 parent a4edbfc commit 0118716
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CHANGELOG
=========

## HEAD (Unreleased)
_(none)_
* Upgrade to v2.9.0 of the AzureAD Terraform Provider

---

Expand Down
1 change: 1 addition & 0 deletions provider/cmd/pulumi-resource-azuread/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1400,6 +1400,7 @@
"items": {
"$ref": "#/types/azuread:index/getApplicationApiOauth2PermissionScope:getApplicationApiOauth2PermissionScope"
},
"description": "One or more `oauth2_permission_scope` blocks as documented below, to describe delegated permissions exposed by the web API represented by this application.\n",
"language": {
"python": {
"mapCase": false
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmX
github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY=
github.com/hashicorp/terraform-plugin-test v1.2.0 h1:AWFdqyfnOj04sxTdaAF57QqvW7XXrT8PseUHkbKsE8I=
github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20211112012122-666ed0072b40 h1:uRjg9oMb+aHBwdOCT7BsYxeq0m1P9RrDnwgWQBlZOsY=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20211112012122-666ed0072b40/go.mod h1:QmnJXzFxwL1gDVJaCay7d/B0fS/LpjXsjl6BlxUp4dY=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20211119032845-8ecf7635d696 h1:43A3pzar6OuHQRqy6IlxTKQquxfk3UPXLqB2HaoY3k4=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20211119032845-8ecf7635d696/go.mod h1:QmnJXzFxwL1gDVJaCay7d/B0fS/LpjXsjl6BlxUp4dY=
github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg=
github.com/hashicorp/terraform-svchost v0.0.0-20191119180714-d2e4933b9136 h1:81Dg7SK6Q5vzqFItO8e1iIF2Nj8bLXV23NXjEgbev/s=
github.com/hashicorp/terraform-svchost v0.0.0-20191119180714-d2e4933b9136/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg=
Expand Down
2 changes: 1 addition & 1 deletion provider/shim/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.15

require (
github.com/hashicorp/terraform-plugin-sdk/v2 v2.8.0
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20211112012122-666ed0072b40
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20211119032845-8ecf7635d696
)

replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20201218231525-9cca98608a5e
4 changes: 2 additions & 2 deletions provider/shim/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ github.com/hashicorp/terraform-json v0.8.0 h1:XObQ3PgqU52YLQKEaJ08QtUshAfN3yu4u8
github.com/hashicorp/terraform-json v0.8.0/go.mod h1:3defM4kkMfttwiE7VakJDwCd4R+umhSQnvJwORXbprE=
github.com/hashicorp/terraform-plugin-go v0.1.0 h1:kyXZ0nkHxiRev/q18N40IbRRk4AV0zE/MDJkDM3u8dY=
github.com/hashicorp/terraform-plugin-go v0.1.0/go.mod h1:10V6F3taeDWVAoLlkmArKttR3IULlRWFAGtQIQTIDr4=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20211112012122-666ed0072b40 h1:uRjg9oMb+aHBwdOCT7BsYxeq0m1P9RrDnwgWQBlZOsY=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20211112012122-666ed0072b40/go.mod h1:QmnJXzFxwL1gDVJaCay7d/B0fS/LpjXsjl6BlxUp4dY=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20211119032845-8ecf7635d696 h1:43A3pzar6OuHQRqy6IlxTKQquxfk3UPXLqB2HaoY3k4=
github.com/hashicorp/terraform-provider-azuread v1.6.1-0.20211119032845-8ecf7635d696/go.mod h1:QmnJXzFxwL1gDVJaCay7d/B0fS/LpjXsjl6BlxUp4dY=
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM=
github.com/hashicorp/yamux v0.0.0-20181012175058-2f1d1f20f75d/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM=
github.com/hashicorp/yamux v0.0.0-20210316155119-a95892c5f864 h1:Y4V+SFe7d3iH+9pJCoeWIOS5/xBJIFsltS7E+KJSsJY=
Expand Down
3 changes: 3 additions & 0 deletions sdk/dotnet/Outputs/GetApplicationApiResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public sealed class GetApplicationApiResult
/// Allows an application to use claims mapping without specifying a custom signing key.
/// </summary>
public readonly bool MappedClaimsEnabled;
/// <summary>
/// One or more `oauth2_permission_scope` blocks as documented below, to describe delegated permissions exposed by the web API represented by this application.
/// </summary>
public readonly ImmutableArray<Outputs.GetApplicationApiOauth2PermissionScopeResult> Oauth2PermissionScopes;
/// <summary>
/// The access token version expected by this resource. Possible values are `1` or `2`.
Expand Down
7 changes: 5 additions & 2 deletions sdk/go/azuread/pulumiTypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -4545,7 +4545,8 @@ type GetApplicationApi struct {
// A set of application IDs (client IDs), used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app.
KnownClientApplications []string `pulumi:"knownClientApplications"`
// Allows an application to use claims mapping without specifying a custom signing key.
MappedClaimsEnabled bool `pulumi:"mappedClaimsEnabled"`
MappedClaimsEnabled bool `pulumi:"mappedClaimsEnabled"`
// One or more `oauth2PermissionScope` blocks as documented below, to describe delegated permissions exposed by the web API represented by this application.
Oauth2PermissionScopes []GetApplicationApiOauth2PermissionScope `pulumi:"oauth2PermissionScopes"`
// The access token version expected by this resource. Possible values are `1` or `2`.
RequestedAccessTokenVersion int `pulumi:"requestedAccessTokenVersion"`
Expand All @@ -4566,7 +4567,8 @@ type GetApplicationApiArgs struct {
// A set of application IDs (client IDs), used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app.
KnownClientApplications pulumi.StringArrayInput `pulumi:"knownClientApplications"`
// Allows an application to use claims mapping without specifying a custom signing key.
MappedClaimsEnabled pulumi.BoolInput `pulumi:"mappedClaimsEnabled"`
MappedClaimsEnabled pulumi.BoolInput `pulumi:"mappedClaimsEnabled"`
// One or more `oauth2PermissionScope` blocks as documented below, to describe delegated permissions exposed by the web API represented by this application.
Oauth2PermissionScopes GetApplicationApiOauth2PermissionScopeArrayInput `pulumi:"oauth2PermissionScopes"`
// The access token version expected by this resource. Possible values are `1` or `2`.
RequestedAccessTokenVersion pulumi.IntInput `pulumi:"requestedAccessTokenVersion"`
Expand Down Expand Up @@ -4633,6 +4635,7 @@ func (o GetApplicationApiOutput) MappedClaimsEnabled() pulumi.BoolOutput {
return o.ApplyT(func(v GetApplicationApi) bool { return v.MappedClaimsEnabled }).(pulumi.BoolOutput)
}

// One or more `oauth2PermissionScope` blocks as documented below, to describe delegated permissions exposed by the web API represented by this application.
func (o GetApplicationApiOutput) Oauth2PermissionScopes() GetApplicationApiOauth2PermissionScopeArrayOutput {
return o.ApplyT(func(v GetApplicationApi) []GetApplicationApiOauth2PermissionScope { return v.Oauth2PermissionScopes }).(GetApplicationApiOauth2PermissionScopeArrayOutput)
}
Expand Down
3 changes: 3 additions & 0 deletions sdk/nodejs/types/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ export interface GetApplicationApi {
* Allows an application to use claims mapping without specifying a custom signing key.
*/
mappedClaimsEnabled: boolean;
/**
* One or more `oauth2PermissionScope` blocks as documented below, to describe delegated permissions exposed by the web API represented by this application.
*/
oauth2PermissionScopes: outputs.GetApplicationApiOauth2PermissionScope[];
/**
* The access token version expected by this resource. Possible values are `1` or `2`.
Expand Down
4 changes: 4 additions & 0 deletions sdk/python/pulumi_azuread/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2070,6 +2070,7 @@ def __init__(__self__, *,
"""
:param Sequence[str] known_client_applications: A set of application IDs (client IDs), used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app.
:param bool mapped_claims_enabled: Allows an application to use claims mapping without specifying a custom signing key.
:param Sequence['GetApplicationApiOauth2PermissionScopeArgs'] oauth2_permission_scopes: One or more `oauth2_permission_scope` blocks as documented below, to describe delegated permissions exposed by the web API represented by this application.
:param int requested_access_token_version: The access token version expected by this resource. Possible values are `1` or `2`.
"""
pulumi.set(__self__, "known_client_applications", known_client_applications)
Expand All @@ -2096,6 +2097,9 @@ def mapped_claims_enabled(self) -> bool:
@property
@pulumi.getter(name="oauth2PermissionScopes")
def oauth2_permission_scopes(self) -> Sequence['outputs.GetApplicationApiOauth2PermissionScopeResult']:
"""
One or more `oauth2_permission_scope` blocks as documented below, to describe delegated permissions exposed by the web API represented by this application.
"""
return pulumi.get(self, "oauth2_permission_scopes")

@property
Expand Down

0 comments on commit 0118716

Please sign in to comment.