Skip to content

Commit

Permalink
nit: removing MaxItems
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Mar 19, 2024
1 parent 073b3c5 commit 3e77d2f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions internal/services/automanage/migration/configuration_v0_to_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ func (ConfigurationV0ToV1) Schema() map[string]*pluginsdk.Schema {
"antimalware": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"real_time_protection_enabled": {
Expand All @@ -58,7 +57,6 @@ func (ConfigurationV0ToV1) Schema() map[string]*pluginsdk.Schema {
"exclusions": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"extensions": {
Expand All @@ -82,7 +80,6 @@ func (ConfigurationV0ToV1) Schema() map[string]*pluginsdk.Schema {
"azure_security_baseline": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"assignment_type": {
Expand All @@ -95,7 +92,6 @@ func (ConfigurationV0ToV1) Schema() map[string]*pluginsdk.Schema {
"backup": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"policy_name": {
Expand All @@ -113,7 +109,6 @@ func (ConfigurationV0ToV1) Schema() map[string]*pluginsdk.Schema {
"schedule_policy": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"schedule_run_frequency": {
Expand Down Expand Up @@ -144,7 +139,6 @@ func (ConfigurationV0ToV1) Schema() map[string]*pluginsdk.Schema {
"retention_policy": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"retention_policy_type": {
Expand All @@ -154,7 +148,6 @@ func (ConfigurationV0ToV1) Schema() map[string]*pluginsdk.Schema {
"daily_schedule": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"retention_times": {
Expand All @@ -167,7 +160,6 @@ func (ConfigurationV0ToV1) Schema() map[string]*pluginsdk.Schema {
"retention_duration": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"count": {
Expand All @@ -187,7 +179,6 @@ func (ConfigurationV0ToV1) Schema() map[string]*pluginsdk.Schema {
"weekly_schedule": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"retention_times": {
Expand All @@ -200,7 +191,6 @@ func (ConfigurationV0ToV1) Schema() map[string]*pluginsdk.Schema {
"retention_duration": {
Type: pluginsdk.TypeList,
Optional: true,
MaxItems: 1,
Elem: &pluginsdk.Resource{
Schema: map[string]*pluginsdk.Schema{
"count": {
Expand Down

0 comments on commit 3e77d2f

Please sign in to comment.