@angular-yc/cli 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -384,9 +384,9 @@ resource "yandex_dns_recordset" "validation" {
384
384
 
385
385
  # API Gateway custom domain
386
386
  resource "yandex_dns_recordset" "api_gateway" {
387
- count = var.create_dns_zone ? 1 : 0
387
+ count = (var.create_dns_zone || trimspace(var.dns_zone_id) != "") ? 1 : 0
388
388
 
389
- zone_id = yandex_dns_zone.main[0].id
389
+ zone_id = var.create_dns_zone ? yandex_dns_zone.main[0].id : var.dns_zone_id
390
390
  name = var.domain_name
391
391
  type = "CNAME"
392
392
  ttl = 300
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-yc/cli",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "CLI tool for deploying Angular apps to Yandex Cloud",
5
5
  "license": "MIT",
6
6
  "author": "Angular-YC Contributors",