We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa15ec8 commit 16e3d6fCopy full SHA for 16e3d6f
internal/service/accessanalyzer/analyzer.go
@@ -99,7 +99,7 @@ func resourceAnalyzer() *schema.Resource {
99
ForceNew: true,
100
Elem: &schema.Schema{
101
Type: schema.TypeString,
102
- ValidateFunc: validation.StringMatch(regexache.MustCompile(`^\d{12}$`), "Must be a 12-digit account ID"),
+ ValidateFunc: verify.ValidAccountID,
103
},
104
105
"resource_arns": {
@@ -157,7 +157,7 @@ func resourceAnalyzer() *schema.Resource {
157
MaxItems: 2000,
158
159
160
161
162
163
names.AttrResourceTags: {
0 commit comments