File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,13 +36,21 @@ import (
3636var testAccProviders map [string ]* schema.Provider
3737var testAccProvider * schema.Provider
3838
39+ var testAccProvidersV6 map [string ]func () (tfprotov6.ProviderServer , error )
40+ var testAccProviderV6 func () (tfprotov6.ProviderServer , error )
41+
3942var cloudStackTemplateURL = os .Getenv ("CLOUDSTACK_TEMPLATE_URL" )
4043
4144func init () {
4245 testAccProvider = Provider ()
4346 testAccProviders = map [string ]* schema.Provider {
4447 "cloudstack" : testAccProvider ,
4548 }
49+
50+ testAccProviderV6 = providerserver .NewProtocol6WithError (New ())
51+ testAccProvidersV6 = map [string ]func () (tfprotov6.ProviderServer , error ){
52+ "cloudstack" : testAccProviderV6 ,
53+ }
4654}
4755
4856func 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
147147}
148148
149149func (p * CloudstackProvider ) Resources (ctx context.Context ) []func () resource.Resource {
150- return []func () resource.Resource {}
150+ return []func () resource.Resource {
151+ NewCloudstackServiceOfferingResource ,
152+ }
151153}
152154
153155func (p * CloudstackProvider ) DataSources (ctx context.Context ) []func () datasource.DataSource {
You can’t perform that action at this time.
0 commit comments