Skip to content

Commit

Permalink
Merge pull request #1078 from hashicorp/tooling/reenable-tfproviderlint
Browse files Browse the repository at this point in the history
Tooling: re-enable tfproviderlint
  • Loading branch information
manicminer committed Apr 25, 2023
2 parents 9c1c0d1 + 579b37a commit 2c1c00e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/tflint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ concurrency:
jobs:
tflint:
runs-on: ubuntu-latest
if: false # skip until https://github.com/bflad/tfproviderlint/issues/255 is fixed
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ func applicationFederatedIdentityCredentialResource() *schema.Resource {
Description: "List of audiences that can appear in the external token. This specifies what should be accepted in the `aud` claim of incoming tokens.",
Type: schema.TypeList,
Required: true,
MaxItems: 1,
// TODO: consider making this a scalar value instead of a list in v3.0 (the API now only accepts a single value)
Elem: &schema.Schema{
Type: schema.TypeString,
MinItems: 1,
MaxItems: 1,
ValidateDiagFunc: validate.ValidateDiag(validation.StringIsNotEmpty),
},
},
Expand Down

0 comments on commit 2c1c00e

Please sign in to comment.