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

Support Managed Load Balancer as Resources #122

Merged
merged 11 commits into from
May 24, 2024

Conversation

hico-horiuchi
Copy link
Contributor

@hico-horiuchi hico-horiuchi commented Mar 18, 2024

This pull request supports Managed Load Balancer as Resources.

Test Results

Data Source

$ OS_AUTH_TOKEN=1 make testacc-args TEST=./ecl TESTARGS='-run ^TestMockedAccMLBV1.+DataSource'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./ecl -v -run ^TestMockedAccMLBV1.+DataSource -timeout 120m
=== RUN   TestMockedAccMLBV1CertificateDataSource
--- PASS: TestMockedAccMLBV1CertificateDataSource (0.24s)
=== RUN   TestMockedAccMLBV1HealthMonitorDataSource
--- PASS: TestMockedAccMLBV1HealthMonitorDataSource (1.39s)
=== RUN   TestMockedAccMLBV1ListenerDataSource
--- PASS: TestMockedAccMLBV1ListenerDataSource (0.79s)
=== RUN   TestMockedAccMLBV1LoadBalancerDataSource
--- PASS: TestMockedAccMLBV1LoadBalancerDataSource (1.18s)
=== RUN   TestMockedAccMLBV1OperationDataSource
--- PASS: TestMockedAccMLBV1OperationDataSource (0.39s)
=== RUN   TestMockedAccMLBV1PlanDataSource
--- PASS: TestMockedAccMLBV1PlanDataSource (1.22s)
=== RUN   TestMockedAccMLBV1PolicyDataSource
--- PASS: TestMockedAccMLBV1PolicyDataSource (1.58s)
=== RUN   TestMockedAccMLBV1RouteDataSource
--- PASS: TestMockedAccMLBV1RouteDataSource (1.09s)
=== RUN   TestMockedAccMLBV1RuleDataSource
--- PASS: TestMockedAccMLBV1RuleDataSource (0.61s)
=== RUN   TestMockedAccMLBV1SystemUpdateDataSource
--- PASS: TestMockedAccMLBV1SystemUpdateDataSource (0.42s)
=== RUN   TestMockedAccMLBV1TargetGroupDataSource
--- PASS: TestMockedAccMLBV1TargetGroupDataSource (1.12s)
=== RUN   TestMockedAccMLBV1TLSPolicyDataSource
--- PASS: TestMockedAccMLBV1TLSPolicyDataSource (0.38s)
PASS
ok  	github.com/nttcom/terraform-provider-ecl/ecl	10.843s

Resource

$ OS_AUTH_TOKEN=1 make testacc-args TEST=./ecl TESTARGS='-run ^TestMockedAccMLBV1.+Resource'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./ecl -v -run ^TestMockedAccMLBV1.+Resource -timeout 120m
=== RUN   TestMockedAccMLBV1CertificateResource
--- PASS: TestMockedAccMLBV1CertificateResource (0.41s)
=== RUN   TestMockedAccMLBV1HealthMonitorResource
--- PASS: TestMockedAccMLBV1HealthMonitorResource (0.22s)
=== RUN   TestMockedAccMLBV1ListenerResource
--- PASS: TestMockedAccMLBV1ListenerResource (0.21s)
=== RUN   TestMockedAccMLBV1LoadBalancerActionResource_ApplyConfigurations
--- PASS: TestMockedAccMLBV1LoadBalancerActionResource_ApplyConfigurations (125.13s)
=== RUN   TestMockedAccMLBV1LoadBalancerActionResource_SystemUpdate
--- PASS: TestMockedAccMLBV1LoadBalancerActionResource_SystemUpdate (125.14s)
=== RUN   TestMockedAccMLBV1LoadBalancerActionResource_ApplyConfigurationsAndSystemUpdate
--- PASS: TestMockedAccMLBV1LoadBalancerActionResource_ApplyConfigurationsAndSystemUpdate (125.38s)
=== RUN   TestMockedAccMLBV1LoadBalancerActionResource_NoApplyConfigurations
--- PASS: TestMockedAccMLBV1LoadBalancerActionResource_NoApplyConfigurations (0.40s)
=== RUN   TestMockedAccMLBV1LoadBalancerActionResource_NoSystemUpdate
--- PASS: TestMockedAccMLBV1LoadBalancerActionResource_NoSystemUpdate (0.28s)
=== RUN   TestMockedAccMLBV1LoadBalancerResource
--- PASS: TestMockedAccMLBV1LoadBalancerResource (125.35s)
=== RUN   TestMockedAccMLBV1PolicyResource
--- PASS: TestMockedAccMLBV1PolicyResource (0.53s)
=== RUN   TestMockedAccMLBV1RouteResource
--- PASS: TestMockedAccMLBV1RouteResource (0.62s)
=== RUN   TestMockedAccMLBV1RuleResource
--- PASS: TestMockedAccMLBV1RuleResource (0.24s)
=== RUN   TestMockedAccMLBV1TargetGroupResource
--- PASS: TestMockedAccMLBV1TargetGroupResource (0.29s)
PASS
ok  	github.com/nttcom/terraform-provider-ecl/ecl	504.592s

Import

$ OS_AUTH_TOKEN=1 make testacc-args TEST=./ecl TESTARGS='-run ^TestMockedAccMLBV1.+Import'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./ecl -v -run ^TestMockedAccMLBV1.+Import -timeout 120m
=== RUN   TestMockedAccMLBV1CertificateImport
--- PASS: TestMockedAccMLBV1CertificateImport (0.45s)
=== RUN   TestMockedAccMLBV1HealthMonitorImport
--- PASS: TestMockedAccMLBV1HealthMonitorImport (0.31s)
=== RUN   TestMockedAccMLBV1ListenerImport
--- PASS: TestMockedAccMLBV1ListenerImport (0.18s)
=== RUN   TestMockedAccMLBV1LoadBalancerImport
--- PASS: TestMockedAccMLBV1LoadBalancerImport (5.12s)
=== RUN   TestMockedAccMLBV1PolicyImport
--- PASS: TestMockedAccMLBV1PolicyImport (0.23s)
=== RUN   TestMockedAccMLBV1RouteImport
--- PASS: TestMockedAccMLBV1RouteImport (0.33s)
=== RUN   TestMockedAccMLBV1RuleImport
--- PASS: TestMockedAccMLBV1RuleImport (0.41s)
=== RUN   TestMockedAccMLBV1TargetGroupImport
--- PASS: TestMockedAccMLBV1TargetGroupImport (0.28s)
PASS
ok  	github.com/nttcom/terraform-provider-ecl/ecl	7.702s

@hico-horiuchi hico-horiuchi force-pushed the support_managed_lb_as_resources branch 2 times, most recently from 0b17bf9 to 4a1a0d1 Compare March 21, 2024 12:57
@hico-horiuchi hico-horiuchi force-pushed the support_managed_lb_as_resources branch 22 times, most recently from a2f7bf2 to 6b349bf Compare May 5, 2024 06:40
@hico-horiuchi hico-horiuchi force-pushed the support_managed_lb_as_resources branch 6 times, most recently from 284316e to 26c88d4 Compare May 10, 2024 08:23
@hico-horiuchi hico-horiuchi force-pushed the support_managed_lb_as_resources branch 7 times, most recently from f06c1fc to 2047f6d Compare May 14, 2024 10:53
@hico-horiuchi hico-horiuchi changed the title [WIP] Support Managed Load Balancer as Resources Support Managed Load Balancer as Resources May 14, 2024
@hico-horiuchi hico-horiuchi force-pushed the support_managed_lb_as_resources branch 2 times, most recently from 6a02a02 to 9e8a61c Compare May 15, 2024 01:22
@hico-horiuchi hico-horiuchi force-pushed the support_managed_lb_as_resources branch 2 times, most recently from 09b63c0 to 066db09 Compare May 15, 2024 09:27
@hico-horiuchi hico-horiuchi force-pushed the support_managed_lb_as_resources branch 2 times, most recently from d21491b to b970299 Compare May 15, 2024 09:44
@hico-horiuchi hico-horiuchi force-pushed the support_managed_lb_as_resources branch from b970299 to d937314 Compare May 15, 2024 12:11
@sugimo-s sugimo-s merged commit a9513eb into nttcom:master May 24, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants