File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,21 @@ import (
36
36
var testAccProviders map [string ]* schema.Provider
37
37
var testAccProvider * schema.Provider
38
38
39
+ var testAccProvidersV6 map [string ]func () (tfprotov6.ProviderServer , error )
40
+ var testAccProviderV6 func () (tfprotov6.ProviderServer , error )
41
+
39
42
var cloudStackTemplateURL = os .Getenv ("CLOUDSTACK_TEMPLATE_URL" )
40
43
41
44
func init () {
42
45
testAccProvider = Provider ()
43
46
testAccProviders = map [string ]* schema.Provider {
44
47
"cloudstack" : testAccProvider ,
45
48
}
49
+
50
+ testAccProviderV6 = providerserver .NewProtocol6WithError (New ())
51
+ testAccProvidersV6 = map [string ]func () (tfprotov6.ProviderServer , error ){
52
+ "cloudstack" : testAccProviderV6 ,
53
+ }
46
54
}
47
55
48
56
func TestProvider (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -147,7 +147,9 @@ func (p *CloudstackProvider) ConfigValidators(ctx context.Context) []provider.Co
147
147
}
148
148
149
149
func (p * CloudstackProvider ) Resources (ctx context.Context ) []func () resource.Resource {
150
- return []func () resource.Resource {}
150
+ return []func () resource.Resource {
151
+ NewCloudstackServiceOfferingResource ,
152
+ }
151
153
}
152
154
153
155
func (p * CloudstackProvider ) DataSources (ctx context.Context ) []func () datasource.DataSource {
You can’t perform that action at this time.
0 commit comments