Files
hunfabric/modules/dns-response-policy/outputs.tf
Ludovico Magnocavallo 987ea34d93 DNS policy module fixes (#1278)
* dns response policy module

* tfdoc

* Add dns policy tests

* fix copyright, var description, initial wording

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2023-03-26 18:39:07 +02:00

31 lines
913 B
HCL

/**
* Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
output "id" {
description = "Policy id."
value = try(google_dns_response_policy.default.0.id, null)
}
output "name" {
description = "Policy name."
value = local.policy_name
}
output "policy" {
description = "Policy resource."
value = try(google_dns_response_policy.default.0, null)
}