Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto updated assets for terraform 22.1.6 #570

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ linters:
enable:
- errcheck
- gofmt
- goimports
# - goimports
- gosimple
- govet
- ineffassign
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(AVI_PROVIDER_NAMESPACE)/22.1
build13: fmtcheck
@echo "==> Installing plugin to $(DESTINATION)"
@mkdir -p $(DESTINATION)
go build -o $(DESTINATION)/terraform-provider-avi_v22.1.5
go build -o $(DESTINATION)/terraform-provider-avi_v22.1.6

test: fmtcheck
go test -i $(TEST) || exit 1
Expand Down
3 changes: 3 additions & 0 deletions avi/data_source_avi_applicationprofile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ resource "avi_applicationprofile" "testApplicationProfile" {
use_app_keepalive_timeout = false
}
preserve_client_port = false
l4_ssl_profile {
ssl_stream_idle_timeout = "3600"
}
}

data "avi_applicationprofile" "testApplicationProfile" {
Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ data "avi_useraccountprofile" "default-user-account-profile" {
}
resource "avi_user" "testUser" {
access {
role_ref = data.avi_role.default-system-admin-role.id
role_ref = "${data.avi_tenant.default_tenant.id}/role/${element(split("/", data.avi_role.default-system-admin-role.id),5)}"
tenant_ref = data.avi_tenant.default_tenant.id
all_tenants = false
}
Expand Down
5 changes: 5 additions & 0 deletions avi/datasource_avi_albservicesjob.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ func dataSourceAviALBServicesJob() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"status_update_time": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceTimeStampSchema(),
},
"tenant_ref": {
Type: schema.TypeString,
Optional: true,
Expand Down
4 changes: 4 additions & 0 deletions avi/datasource_avi_alertscriptconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ func dataSourceAviAlertScriptConfig() *schema.Resource {
Optional: true,
Computed: true,
},
"timeout": {
Type: schema.TypeString,
Computed: true,
},
"uuid": {
Type: schema.TypeString,
Optional: true,
Expand Down
8 changes: 8 additions & 0 deletions avi/datasource_avi_controllerproperties.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,18 @@ func dataSourceAviControllerProperties() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"cloud_discovery_interval": {
Type: schema.TypeString,
Computed: true,
},
"cloud_reconcile": {
Type: schema.TypeString,
Computed: true,
},
"cloud_reconcile_interval": {
Type: schema.TypeString,
Computed: true,
},
"cluster_ip_gratuitous_arp_period": {
Type: schema.TypeString,
Computed: true,
Expand Down
4 changes: 4 additions & 0 deletions avi/datasource_avi_systemconfiguration.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ func dataSourceAviSystemConfiguration() *schema.Resource {
Computed: true,
Elem: ResourceProxyConfigurationSchema(),
},
"sddcmanager_fqdn": {
Type: schema.TypeString,
Computed: true,
},
"secure_channel_configuration": {
Type: schema.TypeSet,
Computed: true,
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_actiongroupconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceActionGroupConfigSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_albservicesconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceALBServicesConfigSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_albservicesfileupload.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceALBServicesFileUploadSchema() map[string]*schema.Schema {
Expand Down
9 changes: 7 additions & 2 deletions avi/resource_avi_albservicesjob.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceALBServicesJobSchema() map[string]*schema.Schema {
Expand Down Expand Up @@ -63,6 +62,12 @@ func ResourceALBServicesJobSchema() map[string]*schema.Schema {
Optional: true,
Default: "PENDING",
},
"status_update_time": {
Type: schema.TypeSet,
Optional: true,
Computed: true,
Elem: ResourceTimeStampSchema(),
},
"tenant_ref": {
Type: schema.TypeString,
Optional: true,
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_alertconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceAlertConfigSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_alertemailconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceAlertEmailConfigSchema() map[string]*schema.Schema {
Expand Down
9 changes: 7 additions & 2 deletions avi/resource_avi_alertscriptconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceAlertScriptConfigSchema() map[string]*schema.Schema {
Expand All @@ -31,6 +30,12 @@ func ResourceAlertScriptConfigSchema() map[string]*schema.Schema {
Optional: true,
Computed: true,
},
"timeout": {
Type: schema.TypeString,
Optional: true,
Computed: true,
ValidateFunc: validateInteger,
},
"uuid": {
Type: schema.TypeString,
Optional: true,
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_alertsyslogconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceAlertSyslogConfigSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_analyticsprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceAnalyticsProfileSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_applicationpersistenceprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceApplicationPersistenceProfileSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_applicationprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceApplicationProfileSchema() map[string]*schema.Schema {
Expand Down
6 changes: 6 additions & 0 deletions avi/resource_avi_applicationprofile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ resource "avi_applicationprofile" "testApplicationProfile" {
use_app_keepalive_timeout = false
}
preserve_client_port = false
l4_ssl_profile {
ssl_stream_idle_timeout = "3600"
}
}
`

Expand Down Expand Up @@ -253,5 +256,8 @@ resource "avi_applicationprofile" "testApplicationProfile" {
use_app_keepalive_timeout = false
}
preserve_client_port = false
l4_ssl_profile {
ssl_stream_idle_timeout = "3600"
}
}
`
3 changes: 1 addition & 2 deletions avi/resource_avi_authmappingprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceAuthMappingProfileSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_authprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceAuthProfileSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_autoscalelaunchconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceAutoScaleLaunchConfigSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_availabilityzone.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceAvailabilityZoneSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceBackupSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_backupconfiguration.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceBackupConfigurationSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_botconfigconsolidator.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceBotConfigConsolidatorSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_botdetectionpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceBotDetectionPolicySchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_botipreputationtypemapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceBotIPReputationTypeMappingSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_botmapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceBotMappingSchema() map[string]*schema.Schema {
Expand Down
3 changes: 1 addition & 2 deletions avi/resource_avi_certificatemanagementprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
package avi

import (
"log"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"log"
)

func ResourceCertificateManagementProfileSchema() map[string]*schema.Schema {
Expand Down
Loading
Loading