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

Dns resolution binding #271

Closed
wants to merge 1 commit into from
Closed

Dns resolution binding #271

wants to merge 1 commit into from

Conversation

ujjwal-ibm
Copy link
Collaborator

@ujjwal-ibm ujjwal-ibm commented Jun 7, 2023

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates OR Closes #0000

Output from acceptance testing:

=== RUN   TestAccIBMISVirtualEndpointGateway_AllowDnsResolutionBinding
--- PASS: TestAccIBMISVirtualEndpointGateway_AllowDnsResolutionBinding (127.11s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/vpc     129.230s
=== RUN   TestAccIBMISVirtualEndpointGatewayDataSource_AllowDnsResolutionBinding
--- PASS: TestAccIBMISVirtualEndpointGatewayDataSource_AllowDnsResolutionBinding (110.66s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/vpc     112.854s
=== RUN   TestAccIBMISVirtualEndpointGatewaysDataSource_AllowDnsResolutionBinding
--- PASS: TestAccIBMISVirtualEndpointGatewaysDataSource_AllowDnsResolutionBinding (104.28s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/vpc     106.417s
=== RUN   TestAccIBMIsVPCDnsResolutionBindingResourceBasic
--- PASS: TestAccIBMIsVPCDnsResolutionBindingResourceBasic (72.63s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/vpc     74.793s
=== RUN   TestAccIBMIsVPCDnsResolutionBindingsDataSourceBasic
--- PASS: TestAccIBMIsVPCDnsResolutionBindingsDataSourceBasic (69.61s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/vpc     71.873s
=== RUN   TestAccIBMIsVPCDnsResolutionBindingDataSourceBasic
--- PASS: TestAccIBMIsVPCDnsResolutionBindingDataSourceBasic (73.08s)
PASS
ok      github.com/IBM-Cloud/terraform-provider-ibm/ibm/service/vpc     75.238s

default_security_group_name = "dsgn"
default_routing_table_name = "drtn"
tags = ["Tag1", "tag2"]
}`, name)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This configuration does not include DNS attributes?

vpc {
id = ibm_is_vpc.vpc2.id
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing examples for VPC

@@ -53,6 +71,39 @@ Review the argument references that you can specify for your resource.
- `default_network_acl_name` - (Optional, String) Enter the name of the default network access control list (ACL).
- `default_security_group_name` - (Optional, String) Enter the name of the default security group.
- `default_routing_table_name` - (Optional, String) Enter the name of the default routing table.
- `dns` - (Optional, List) The DNS configuration for this VPC.

Nested scheme for `dns`:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note - This feature is a Select Location availability invitation only feature. If used in other regions may lead to inconsistencies in state management.

subcategory: "Virtual Private Cloud API"
---

# ibm_is_vpc_dns_resolution_binding
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note - This feature is a Select Location availability invitation only feature. If used in other regions may lead to inconsistencies in state management.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@@ -88,6 +88,7 @@ Review the argument references that you can specify for your resource.
**&#x2022;** For more information, about creating access tags, see [working with tags](https://cloud.ibm.com/docs/account?topic=account-tag&interface=ui#create-access-console).</br>
**&#x2022;** You must have the access listed in the [Granting users access to tag resources](https://cloud.ibm.com/docs/account?topic=account-access) for `access_tags`</br>
**&#x2022;** `access_tags` must be in the format `key:value`.
- `allow_dns_resolution_binding` - (Optional, bool) Indicates whether to allow this endpoint gateway to participate in DNS resolution bindings with a VPC that has dns.enable_hub set to true.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note - This feature is a Select Location availability invitation only feature. If used in other regions may lead to inconsistencies in state management.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

}
}
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add an example with zone affinity please all three zones?

@ujjwal-ibm ujjwal-ibm force-pushed the dns-resolution-binding branch from 65bca04 to bc14e2b Compare September 22, 2023 10:29
@ujjwal-ibm
Copy link
Collaborator Author

moving to upstream

@ujjwal-ibm ujjwal-ibm closed this Sep 22, 2023
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.

2 participants