-
Notifications
You must be signed in to change notification settings - Fork 143
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
feat: Add IP Restriction for Container Registry #552
Conversation
ovh/resource_cloud_project_containerregistry_ip_restrictions_management.go
Outdated
Show resolved
Hide resolved
ovh/data_cloud_project_containerregistry_ip_restrictions_management.go
Outdated
Show resolved
Hide resolved
ovh/data_cloud_project_containerregistry_ip_restrictions_management.go
Outdated
Show resolved
Hide resolved
ovh/data_cloud_project_containerregistry_ip_restrictions_management_test.go
Outdated
Show resolved
Hide resolved
ovh/data_cloud_project_containerregistry_ip_restrictions_registry.go
Outdated
Show resolved
Hide resolved
ovh/resource_cloud_project_containerregistry_ip_restrictions_management.go
Outdated
Show resolved
Hide resolved
ovh/resource_cloud_project_containerregistry_ip_restrictions_management.go
Outdated
Show resolved
Hide resolved
ovh/resource_cloud_project_containerregistry_ip_restrictions_management.go
Show resolved
Hide resolved
ovh/resource_cloud_project_containerregistry_ip_restrictions_management_test.go
Outdated
Show resolved
Hide resolved
ovh/resource_cloud_project_containerregistry_ip_restrictions_management_test.go
Show resolved
Hide resolved
ovh/data_cloud_project_containerregistry_ip_restrictions_management.go
Outdated
Show resolved
Hide resolved
f92c991
to
f018681
Compare
ovh/resource_cloud_project_containerregistry_ip_restrictions_management.go
Outdated
Show resolved
Hide resolved
ovh/resource_cloud_project_containerregistry_ip_restrictions_management_test.go
Outdated
Show resolved
Hide resolved
ip_block = "121.121.121.121/32" | ||
description = "my new awesome ip description" | ||
} | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation issue here (and on lines above)
ovh/resource_cloud_project_containerregistry_ip_restrictions_registry.go
Outdated
Show resolved
Hide resolved
ovh/resource_cloud_project_containerregistry_ip_restrictions_registry_test.go
Outdated
Show resolved
Hide resolved
just ran the tests locally, this PR make the two following tests fail, can you fix them ?
|
d0bbd83
to
97af769
Compare
ovh/data_cloud_project_containerregistry_ip_restrictions_management.go
Outdated
Show resolved
Hide resolved
ovh/data_cloud_project_containerregistry_ip_restrictions_management.go
Outdated
Show resolved
Hide resolved
Type: schema.TypeString, | ||
Description: "Service name", | ||
Required: true, | ||
ForceNew: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comments on ForceNew
and Computed
as in above datasource
97af769
to
25fe273
Compare
Description
Add Managed Private Registry IP Restrictions feature (relative to ovh/public-cloud-roadmap#23)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
make testacc TESTARGS="-run TestAccCloudProjectContainerRegistryIPRestrictionsManagement_basic"
make testacc TESTARGS="-run TestAccCloudProjectContainerRegistryIPRestrictionsRegistry_basic"
make testacc TESTARGS="-run TestAccCloudProjectContainerIPRestrictionsManagementDataSource_basic"
make testacc TESTARGS="-run TestAccCloudProjectContainerIPRestrictionsRegistryDataSource_basic"
Test Configuration:
terraform version
: Terraform v1.6.6Checklist:
go mod vendor
if I added or modifygo.mod
file