Skip to content

Commit

Permalink
Merge pull request #575 from vmware/jenkins_sync_eng_tf
Browse files Browse the repository at this point in the history
Auto updated assets for terraform eng
  • Loading branch information
Rohan-sss1 authored Mar 21, 2024
2 parents 8f24f94 + e23f08f commit 25d4999
Show file tree
Hide file tree
Showing 225 changed files with 3,161 additions and 2,140 deletions.
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
9 changes: 9 additions & 0 deletions avi/data_source_avi_applicationprofile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,15 @@ resource "avi_applicationprofile" "testApplicationProfile" {
max_object_size = "4194304"
mime_types_group_refs = [data.avi_stringgroup.system_cacheablestringgroup.id]
}
http2_profile {
http2_initial_window_size = "64"
max_http2_concurrent_streams_per_connection = "128"
max_http2_control_frames_per_connection = "1000"
max_http2_empty_data_frames_per_connection = "1000"
max_http2_header_field_size = "4096"
max_http2_queued_frames_to_client_per_connection = "1000"
max_http2_requests_per_connection = "1000"
}
max_rps_unknown_uri = "0"
post_accept_timeout = "30000"
client_header_timeout = "10000"
Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_controllerproperties_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ resource "avi_controllerproperties" "testControllerProperties" {
max_seq_attach_ip_failures = "3"
secure_channel_cleanup_timeout = "60"
vs_se_vnic_ip_fail = "120"
ssl_certificate_expiry_warning_days = ["30","7","1"]
ssl_certificate_expiry_warning_days = ["1","7","30"]
secure_channel_se_token_timeout = "60"
secure_channel_controller_token_timeout = "60"
api_idle_timeout = "15"
Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_customipamdnsprofile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestAVIDataSourceCustomIpamDnsProfileBasic(t *testing.T) {

}

// nolint
//nolint
const testAccAVIDSCustomIpamDnsProfileConfig = `
data "avi_tenant" "default_tenant"{
name= "admin"
Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_dnspolicy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestAVIDataSourceDnsPolicyBasic(t *testing.T) {

}

// nolint
//nolint
const testAccAVIDSDnsPolicyConfig = `
data "avi_tenant" "default_tenant"{
name= "admin"
Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_ipaddrgroup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func TestAVIDataSourceIpAddrGroupBasic(t *testing.T) {

}

// nolint
//nolint
const testAccAVIDSIpAddrGroupConfig = `
data "avi_tenant" "default_tenant"{
name= "admin"
Expand Down
2 changes: 1 addition & 1 deletion avi/data_source_avi_ipamdnsproviderprofile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestAVIDataSourceIpamDnsProviderProfileBasic(t *testing.T) {

}

// nolint
//nolint
const testAccAVIDSIpamDnsProviderProfileConfig = `
data "avi_tenant" "default_tenant"{
name= "admin"
Expand Down
8 changes: 4 additions & 4 deletions avi/data_source_avi_sslprofile_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ resource "avi_sslprofile" "testSSLProfile" {
name = "test-System-Standard-abc"
tenant_ref = data.avi_tenant.default_tenant.id
ssl_session_timeout = "86400"
accepted_ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA"
accepted_ciphers = "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384"
prefer_client_cipher_ordering = false
accepted_versions {
type = "SSL_VERSION_TLS1"
Expand All @@ -54,12 +54,12 @@ accepted_versions {
type = "SSL_VERSION_TLS1_2"
}
enable_ssl_session_reuse = true
cipher_enums = ["TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA","TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA","TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384","TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256","TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384","TLS_RSA_WITH_AES_128_GCM_SHA256","TLS_RSA_WITH_AES_256_GCM_SHA384","TLS_RSA_WITH_AES_128_CBC_SHA256","TLS_RSA_WITH_AES_256_CBC_SHA256","TLS_RSA_WITH_AES_128_CBC_SHA","TLS_RSA_WITH_AES_256_CBC_SHA","TLS_RSA_WITH_3DES_EDE_CBC_SHA","TLS_AES_256_GCM_SHA384","TLS_CHACHA20_POLY1305_SHA256","TLS_AES_128_GCM_SHA256"]
cipher_enums = ["TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384","TLS_AES_256_GCM_SHA384","TLS_CHACHA20_POLY1305_SHA256","TLS_AES_128_GCM_SHA256"]
send_close_notify = true
ssl_rating {
performance_rating = "SSL_SCORE_EXCELLENT"
security_score = "100.0"
compatibility_rating = "SSL_SCORE_EXCELLENT"
security_score = "100"
compatibility_rating = "SSL_SCORE_GOOD"
}
dhparam = <<EOF
-----BEGIN DH PARAMETERS-----
Expand Down
15 changes: 15 additions & 0 deletions avi/datasource_avi_albservicesconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ func dataSourceAviALBServicesConfig() *schema.Resource {
Computed: true,
Elem: ResourcePortalFeatureOptInSchema(),
},
"inventory_config": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceInventoryConfigurationSchema(),
},
"ip_reputation_config": {
Type: schema.TypeSet,
Computed: true,
Expand Down Expand Up @@ -61,11 +66,21 @@ func dataSourceAviALBServicesConfig() *schema.Resource {
Computed: true,
Elem: ResourceSaasLicensingInfoSchema(),
},
"session_config": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourcePulseServicesSessionConfigSchema(),
},
"split_proxy_configuration": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceProxyConfigurationSchema(),
},
"tenant_config": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourcePulseServicesTenantConfigSchema(),
},
"tenant_ref": {
Type: schema.TypeString,
Optional: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,42 @@ package avi

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

func dataSourceAviPingAccessAgent() *schema.Resource {
func dataSourceAviALBServicesFileDownload() *schema.Resource {
return &schema.Resource{
Read: ResourceAviPingAccessAgentRead,
Read: ResourceAviALBServicesFileDownloadRead,
Schema: map[string]*schema.Schema{
"configpb_attributes": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceConfigPbAttributesSchema(),
},
"description": {
"destination_dir": {
Type: schema.TypeString,
Computed: true,
},
"markers": {
Type: schema.TypeList,
"file_type": {
Type: schema.TypeString,
Computed: true,
Elem: ResourceRoleFilterMatchLabelSchema(),
},
"name": {
"file_uri": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"pingaccess_pool_ref": {
"message": {
Type: schema.TypeString,
Computed: true,
},
"primary_server": {
"metadata": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourcePoolServerSchema(),
Elem: ResourceALBServicesFileDownloadMetadataSchema(),
},
"name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"properties_file_data": {
"status": {
Type: schema.TypeString,
Computed: true,
},
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
4 changes: 4 additions & 0 deletions avi/datasource_avi_alertsyslogconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ func dataSourceAviAlertSyslogConfig() *schema.Resource {
Optional: true,
Computed: true,
},
"sender_hostname": {
Type: schema.TypeString,
Computed: true,
},
"syslog_servers": {
Type: schema.TypeList,
Computed: true,
Expand Down
4 changes: 0 additions & 4 deletions avi/datasource_avi_authprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ func dataSourceAviAuthProfile() *schema.Resource {
Computed: true,
Elem: ResourceOAuthProfileSchema(),
},
"pa_agent_ref": {
Type: schema.TypeString,
Computed: true,
},
"saml": {
Type: schema.TypeSet,
Computed: true,
Expand Down
5 changes: 5 additions & 0 deletions avi/datasource_avi_botdetectionpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ func dataSourceAviBotDetectionPolicy() *schema.Resource {
Computed: true,
Elem: ResourceBotAllowListSchema(),
},
"client_behavior_detector": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceBotConfigClientBehaviorSchema(),
},
"description": {
Type: schema.TypeString,
Computed: true,
Expand Down
8 changes: 8 additions & 0 deletions avi/datasource_avi_cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ func dataSourceAviCloud() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"mgmt_ip_v4_enabled": {
Type: schema.TypeString,
Computed: true,
},
"mgmt_ip_v6_enabled": {
Type: schema.TypeString,
Computed: true,
},
"mtu": {
Type: schema.TypeString,
Computed: true,
Expand Down
5 changes: 5 additions & 0 deletions avi/datasource_avi_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ func dataSourceAviCluster() *schema.Resource {
Computed: true,
Elem: ResourceIpAddrSchema(),
},
"virtual_ip6": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceIpAddrSchema(),
},
"cluster_state": {
Type: schema.TypeSet,
Optional: true,
Expand Down
29 changes: 29 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 Expand Up @@ -163,6 +171,15 @@ func dataSourceAviControllerProperties() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"file_reference_mappings": {
Type: schema.TypeList,
Computed: true,
Elem: ResourceFileReferenceMappingSchema(),
},
"fileobject_max_file_versions": {
Type: schema.TypeString,
Computed: true,
},
"gslb_purge_batch_size": {
Type: schema.TypeString,
Computed: true,
Expand Down Expand Up @@ -319,11 +336,23 @@ func dataSourceAviControllerProperties() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"soft_min_mem_per_se_limit": {
Type: schema.TypeString,
Computed: true,
},
"ssl_certificate_expiry_warning_days": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Schema{Type: schema.TypeInt},
},
"system_report_cleanup_interval": {
Type: schema.TypeString,
Computed: true,
},
"system_report_limit": {
Type: schema.TypeString,
Computed: true,
},
"unresponsive_se_reboot": {
Type: schema.TypeString,
Computed: true,
Expand Down
2 changes: 1 addition & 1 deletion avi/datasource_avi_customipamdnsprofile.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package avi

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

// nolint
//nolint
func dataSourceAviCustomIpamDnsProfile() *schema.Resource {
return &schema.Resource{
Read: ResourceAviCustomIpamDnsProfileRead,
Expand Down
2 changes: 1 addition & 1 deletion avi/datasource_avi_dnspolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package avi

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

// nolint
//nolint
func dataSourceAviDnsPolicy() *schema.Resource {
return &schema.Resource{
Read: ResourceAviDnsPolicyRead,
Expand Down
2 changes: 1 addition & 1 deletion avi/datasource_avi_dynamicdnsrecord.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package avi

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

// nolint
//nolint
func dataSourceAviDynamicDnsRecord() *schema.Resource {
return &schema.Resource{
Read: ResourceAviDynamicDnsRecordRead,
Expand Down
10 changes: 10 additions & 0 deletions avi/datasource_avi_fileobject.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,20 @@ func dataSourceAviFileObject() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"configpb_attributes": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceConfigPbAttributesSchema(),
},
"created": {
Type: schema.TypeString,
Computed: true,
},
"crl_info": {
Type: schema.TypeSet,
Computed: true,
Elem: ResourceCRLSchema(),
},
"description": {
Type: schema.TypeString,
Computed: true,
Expand Down
4 changes: 4 additions & 0 deletions avi/datasource_avi_gslb.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ func dataSourceAviGslb() *schema.Resource {
Type: schema.TypeString,
Computed: true,
},
"fileobject_max_file_versions": {
Type: schema.TypeString,
Computed: true,
},
"is_federated": {
Type: schema.TypeString,
Computed: true,
Expand Down
2 changes: 1 addition & 1 deletion avi/datasource_avi_ipaddrgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package avi

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

// nolint
//nolint
func dataSourceAviIpAddrGroup() *schema.Resource {
return &schema.Resource{
Read: ResourceAviIpAddrGroupRead,
Expand Down
Loading

0 comments on commit 25d4999

Please sign in to comment.