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 eng #575

Merged
merged 25 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8297d41
Updated assets for terraform
sagarpsalvi Jan 24, 2024
933702f
Updated assets for terraform
sagarpsalvi Jan 26, 2024
ba6711f
Updated assets for terraform
sagarpsalvi Jan 30, 2024
ffa8534
Updated assets for terraform
sagarpsalvi Feb 1, 2024
3b64652
Updated assets for terraform
sagarpsalvi Feb 2, 2024
90f6f1c
Updated assets for terraform
sagarpsalvi Feb 6, 2024
207c79c
Updated assets for terraform
sagarpsalvi Feb 7, 2024
2b09a8d
Updated assets for terraform
sagarpsalvi Feb 9, 2024
8f339c8
Updated assets for terraform
sagarpsalvi Feb 12, 2024
8226be7
Updated assets for terraform
sagarpsalvi Feb 13, 2024
9290bb5
Updated assets for terraform
sagarpsalvi Feb 15, 2024
62ae378
Updated assets for terraform
sagarpsalvi Feb 19, 2024
f775fce
Updated assets for terraform
sagarpsalvi Feb 22, 2024
54f74d2
Updated assets for terraform
sagarpsalvi Feb 23, 2024
81b6bf1
Updated assets for terraform
sagarpsalvi Feb 26, 2024
797a507
Updated assets for terraform
sagarpsalvi Feb 27, 2024
9ea9d38
Updated assets for terraform
sagarpsalvi Feb 29, 2024
05adc8a
Updated assets for terraform
sagarpsalvi Mar 1, 2024
2d3beea
Updated assets for terraform
sagarpsalvi Mar 4, 2024
16bb738
Updated assets for terraform
sagarpsalvi Mar 6, 2024
4efefcc
Updated assets for terraform
sagarpsalvi Mar 11, 2024
95c09fb
Updated assets for terraform
sagarpsalvi Mar 12, 2024
ddcc796
Updated assets for terraform
sagarpsalvi Mar 15, 2024
9d99b0b
Updated assets for terraform
sagarpsalvi Mar 20, 2024
e23f08f
Commented go imports
Rohan-sss1 Mar 21, 2024
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
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
Loading