Skip to content

Commit d2b6bba

Browse files
authored
Auto updated assets for terraform 22.1.5 (#558)
* Updated assets for terraform Signed-off-by: Sagar <[email protected]> * Updated assets for terraform Signed-off-by: Sagar <[email protected]> --------- Signed-off-by: Sagar <[email protected]>
1 parent 7b1a67d commit d2b6bba

24 files changed

+82
-65
lines changed

Diff for: GNUmakefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ build: fmtcheck
99

1010
build13: GOOS=$(shell go env GOOS)
1111
build13: GOARCH=$(shell go env GOARCH)
12-
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(AVI_PROVIDER_NAMESPACE)/22.1.4/$(GOOS)_$(GOARCH)
12+
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(AVI_PROVIDER_NAMESPACE)/22.1.5/$(GOOS)_$(GOARCH)
1313
build13: fmtcheck
1414
@echo "==> Installing plugin to $(DESTINATION)"
1515
@mkdir -p $(DESTINATION)
16-
go build -o $(DESTINATION)/terraform-provider-avi_v22.1.4
16+
go build -o $(DESTINATION)/terraform-provider-avi_v22.1.5
1717

1818
test: fmtcheck
1919
go test -i $(TEST) || exit 1

Diff for: avi/data_source_avi_customipamdnsprofile_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestAVIDataSourceCustomIpamDnsProfileBasic(t *testing.T) {
2626

2727
}
2828

29-
// nolint
29+
//nolint
3030
const testAccAVIDSCustomIpamDnsProfileConfig = `
3131
data "avi_tenant" "default_tenant"{
3232
name= "admin"

Diff for: avi/data_source_avi_dnspolicy_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestAVIDataSourceDnsPolicyBasic(t *testing.T) {
2626

2727
}
2828

29-
// nolint
29+
//nolint
3030
const testAccAVIDSDnsPolicyConfig = `
3131
data "avi_tenant" "default_tenant"{
3232
name= "admin"

Diff for: avi/data_source_avi_ipaddrgroup_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func TestAVIDataSourceIpAddrGroupBasic(t *testing.T) {
2626

2727
}
2828

29-
// nolint
29+
//nolint
3030
const testAccAVIDSIpAddrGroupConfig = `
3131
data "avi_tenant" "default_tenant"{
3232
name= "admin"

Diff for: avi/data_source_avi_ipamdnsproviderprofile_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func TestAVIDataSourceIpamDnsProviderProfileBasic(t *testing.T) {
2828

2929
}
3030

31-
// nolint
31+
//nolint
3232
const testAccAVIDSIpamDnsProviderProfileConfig = `
3333
data "avi_tenant" "default_tenant"{
3434
name= "admin"

Diff for: avi/datasource_avi_customipamdnsprofile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package avi
55

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

8-
// nolint
8+
//nolint
99
func dataSourceAviCustomIpamDnsProfile() *schema.Resource {
1010
return &schema.Resource{
1111
Read: ResourceAviCustomIpamDnsProfileRead,

Diff for: avi/datasource_avi_dnspolicy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package avi
55

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

8-
// nolint
8+
//nolint
99
func dataSourceAviDnsPolicy() *schema.Resource {
1010
return &schema.Resource{
1111
Read: ResourceAviDnsPolicyRead,

Diff for: avi/datasource_avi_dynamicdnsrecord.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package avi
55

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

8-
// nolint
8+
//nolint
99
func dataSourceAviDynamicDnsRecord() *schema.Resource {
1010
return &schema.Resource{
1111
Read: ResourceAviDynamicDnsRecordRead,

Diff for: avi/datasource_avi_ipaddrgroup.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package avi
55

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

8-
// nolint
8+
//nolint
99
func dataSourceAviIpAddrGroup() *schema.Resource {
1010
return &schema.Resource{
1111
Read: ResourceAviIpAddrGroupRead,

Diff for: avi/datasource_avi_ipamdnsproviderprofile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package avi
55

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

8-
// nolint
8+
//nolint
99
func dataSourceAviIpamDnsProviderProfile() *schema.Resource {
1010
return &schema.Resource{
1111
Read: ResourceAviIpamDnsProviderProfileRead,

Diff for: avi/resource_avi_customipamdnsprofile.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/vmware/alb-sdk/go/clients"
1212
)
1313

14-
// nolint
14+
//nolint
1515
func ResourceCustomIpamDnsProfileSchema() map[string]*schema.Schema {
1616
return map[string]*schema.Schema{
1717
"configpb_attributes": {
@@ -46,7 +46,7 @@ func ResourceCustomIpamDnsProfileSchema() map[string]*schema.Schema {
4646
}
4747
}
4848

49-
// nolint
49+
//nolint
5050
func resourceAviCustomIpamDnsProfile() *schema.Resource {
5151
return &schema.Resource{
5252
Create: resourceAviCustomIpamDnsProfileCreate,
@@ -60,13 +60,13 @@ func resourceAviCustomIpamDnsProfile() *schema.Resource {
6060
}
6161
}
6262

63-
// nolint
63+
//nolint
6464
func ResourceCustomIpamDnsProfileImporter(d *schema.ResourceData, m interface{}) ([]*schema.ResourceData, error) {
6565
s := ResourceCustomIpamDnsProfileSchema()
6666
return ResourceImporter(d, m, "customipamdnsprofile", s)
6767
}
6868

69-
// nolint
69+
//nolint
7070
func ResourceAviCustomIpamDnsProfileRead(d *schema.ResourceData, meta interface{}) error {
7171
s := ResourceCustomIpamDnsProfileSchema()
7272
err := APIRead(d, meta, "customipamdnsprofile", s)
@@ -76,7 +76,7 @@ func ResourceAviCustomIpamDnsProfileRead(d *schema.ResourceData, meta interface{
7676
return err
7777
}
7878

79-
// nolint
79+
//nolint
8080
func resourceAviCustomIpamDnsProfileCreate(d *schema.ResourceData, meta interface{}) error {
8181
s := ResourceCustomIpamDnsProfileSchema()
8282
err := APICreateOrUpdate(d, meta, "customipamdnsprofile", s)
@@ -86,7 +86,7 @@ func resourceAviCustomIpamDnsProfileCreate(d *schema.ResourceData, meta interfac
8686
return err
8787
}
8888

89-
// nolint
89+
//nolint
9090
func resourceAviCustomIpamDnsProfileUpdate(d *schema.ResourceData, meta interface{}) error {
9191
s := ResourceCustomIpamDnsProfileSchema()
9292
var err error
@@ -97,7 +97,7 @@ func resourceAviCustomIpamDnsProfileUpdate(d *schema.ResourceData, meta interfac
9797
return err
9898
}
9999

100-
// nolint
100+
//nolint
101101
func resourceAviCustomIpamDnsProfileDelete(d *schema.ResourceData, meta interface{}) error {
102102
objType := "customipamdnsprofile"
103103
client := meta.(*clients.AviClient)

Diff for: avi/resource_avi_customipamdnsprofile_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func TestAVICustomIpamDnsProfileBasic(t *testing.T) {
4343

4444
}
4545

46-
// nolint
46+
//nolint
4747
func testAccCheckAVICustomIpamDnsProfileExists(resourcename string) resource.TestCheckFunc {
4848
return func(s *terraform.State) error {
4949
conn := testAccProvider.Meta().(*clients.AviClient).AviSession
@@ -67,7 +67,7 @@ func testAccCheckAVICustomIpamDnsProfileExists(resourcename string) resource.Tes
6767

6868
}
6969

70-
// nolint
70+
//nolint
7171
func testAccCheckAVICustomIpamDnsProfileDestroy(s *terraform.State) error {
7272
conn := testAccProvider.Meta().(*clients.AviClient).AviSession
7373
var obj interface{}
@@ -92,7 +92,7 @@ func testAccCheckAVICustomIpamDnsProfileDestroy(s *terraform.State) error {
9292
return nil
9393
}
9494

95-
// nolint
95+
//nolint
9696
const testAccAVICustomIpamDnsProfileConfig = `
9797
data "avi_tenant" "default_tenant"{
9898
name= "admin"
@@ -104,7 +104,7 @@ resource "avi_customipamdnsprofile" "testCustomIpamDnsProfile" {
104104
}
105105
`
106106

107-
// nolint
107+
//nolint
108108
const testAccAVICustomIpamDnsProfileupdatedConfig = `
109109
data "avi_tenant" "default_tenant"{
110110
name= "admin"

Diff for: avi/resource_avi_dnspolicy.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/vmware/alb-sdk/go/clients"
1212
)
1313

14-
// nolint
14+
//nolint
1515
func ResourceDnsPolicySchema() map[string]*schema.Schema {
1616
return map[string]*schema.Schema{
1717
"configpb_attributes": {
@@ -63,7 +63,7 @@ func ResourceDnsPolicySchema() map[string]*schema.Schema {
6363
}
6464
}
6565

66-
// nolint
66+
//nolint
6767
func resourceAviDnsPolicy() *schema.Resource {
6868
return &schema.Resource{
6969
Create: resourceAviDnsPolicyCreate,
@@ -77,13 +77,13 @@ func resourceAviDnsPolicy() *schema.Resource {
7777
}
7878
}
7979

80-
// nolint
80+
//nolint
8181
func ResourceDnsPolicyImporter(d *schema.ResourceData, m interface{}) ([]*schema.ResourceData, error) {
8282
s := ResourceDnsPolicySchema()
8383
return ResourceImporter(d, m, "dnspolicy", s)
8484
}
8585

86-
// nolint
86+
//nolint
8787
func ResourceAviDnsPolicyRead(d *schema.ResourceData, meta interface{}) error {
8888
s := ResourceDnsPolicySchema()
8989
err := APIRead(d, meta, "dnspolicy", s)
@@ -93,7 +93,7 @@ func ResourceAviDnsPolicyRead(d *schema.ResourceData, meta interface{}) error {
9393
return err
9494
}
9595

96-
// nolint
96+
//nolint
9797
func resourceAviDnsPolicyCreate(d *schema.ResourceData, meta interface{}) error {
9898
s := ResourceDnsPolicySchema()
9999
err := APICreateOrUpdate(d, meta, "dnspolicy", s)
@@ -103,7 +103,7 @@ func resourceAviDnsPolicyCreate(d *schema.ResourceData, meta interface{}) error
103103
return err
104104
}
105105

106-
// nolint
106+
//nolint
107107
func resourceAviDnsPolicyUpdate(d *schema.ResourceData, meta interface{}) error {
108108
s := ResourceDnsPolicySchema()
109109
var err error
@@ -114,7 +114,7 @@ func resourceAviDnsPolicyUpdate(d *schema.ResourceData, meta interface{}) error
114114
return err
115115
}
116116

117-
// nolint
117+
//nolint
118118
func resourceAviDnsPolicyDelete(d *schema.ResourceData, meta interface{}) error {
119119
objType := "dnspolicy"
120120
client := meta.(*clients.AviClient)

Diff for: avi/resource_avi_dnspolicy_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func TestAVIDnsPolicyBasic(t *testing.T) {
4343

4444
}
4545

46-
// nolint
46+
//nolint
4747
func testAccCheckAVIDnsPolicyExists(resourcename string) resource.TestCheckFunc {
4848
return func(s *terraform.State) error {
4949
conn := testAccProvider.Meta().(*clients.AviClient).AviSession
@@ -67,7 +67,7 @@ func testAccCheckAVIDnsPolicyExists(resourcename string) resource.TestCheckFunc
6767

6868
}
6969

70-
// nolint
70+
//nolint
7171
func testAccCheckAVIDnsPolicyDestroy(s *terraform.State) error {
7272
conn := testAccProvider.Meta().(*clients.AviClient).AviSession
7373
var obj interface{}
@@ -92,7 +92,7 @@ func testAccCheckAVIDnsPolicyDestroy(s *terraform.State) error {
9292
return nil
9393
}
9494

95-
// nolint
95+
//nolint
9696
const testAccAVIDnsPolicyConfig = `
9797
data "avi_tenant" "default_tenant"{
9898
name= "admin"
@@ -104,7 +104,7 @@ resource "avi_dnspolicy" "testDnsPolicy" {
104104
}
105105
`
106106

107-
// nolint
107+
//nolint
108108
const testAccAVIDnsPolicyupdatedConfig = `
109109
data "avi_tenant" "default_tenant"{
110110
name= "admin"

Diff for: avi/resource_avi_dynamicdnsrecord.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/vmware/alb-sdk/go/clients"
1212
)
1313

14-
// nolint
14+
//nolint
1515
func ResourceDynamicDnsRecordSchema() map[string]*schema.Schema {
1616
return map[string]*schema.Schema{
1717
"algorithm": {
@@ -122,7 +122,7 @@ func ResourceDynamicDnsRecordSchema() map[string]*schema.Schema {
122122
}
123123
}
124124

125-
// nolint
125+
//nolint
126126
func resourceAviDynamicDnsRecord() *schema.Resource {
127127
return &schema.Resource{
128128
Create: resourceAviDynamicDnsRecordCreate,
@@ -136,13 +136,13 @@ func resourceAviDynamicDnsRecord() *schema.Resource {
136136
}
137137
}
138138

139-
// nolint
139+
//nolint
140140
func ResourceDynamicDnsRecordImporter(d *schema.ResourceData, m interface{}) ([]*schema.ResourceData, error) {
141141
s := ResourceDynamicDnsRecordSchema()
142142
return ResourceImporter(d, m, "dynamicdnsrecord", s)
143143
}
144144

145-
// nolint
145+
//nolint
146146
func ResourceAviDynamicDnsRecordRead(d *schema.ResourceData, meta interface{}) error {
147147
s := ResourceDynamicDnsRecordSchema()
148148
err := APIRead(d, meta, "dynamicdnsrecord", s)
@@ -152,7 +152,7 @@ func ResourceAviDynamicDnsRecordRead(d *schema.ResourceData, meta interface{}) e
152152
return err
153153
}
154154

155-
// nolint
155+
//nolint
156156
func resourceAviDynamicDnsRecordCreate(d *schema.ResourceData, meta interface{}) error {
157157
s := ResourceDynamicDnsRecordSchema()
158158
err := APICreateOrUpdate(d, meta, "dynamicdnsrecord", s)
@@ -162,7 +162,7 @@ func resourceAviDynamicDnsRecordCreate(d *schema.ResourceData, meta interface{})
162162
return err
163163
}
164164

165-
// nolint
165+
//nolint
166166
func resourceAviDynamicDnsRecordUpdate(d *schema.ResourceData, meta interface{}) error {
167167
s := ResourceDynamicDnsRecordSchema()
168168
var err error
@@ -173,7 +173,7 @@ func resourceAviDynamicDnsRecordUpdate(d *schema.ResourceData, meta interface{})
173173
return err
174174
}
175175

176-
// nolint
176+
//nolint
177177
func resourceAviDynamicDnsRecordDelete(d *schema.ResourceData, meta interface{}) error {
178178
objType := "dynamicdnsrecord"
179179
client := meta.(*clients.AviClient)

0 commit comments

Comments
 (0)