-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add new redirect APIs * Update objects * Update ns1-go * Add changelog and new version * Add note in doc * Force to use the wildcard cert in test * Fix tags update * Enabling import * Two more test scenarios and fixes for it * Making cert mandatory for HTTPS and removing no-cert test scenario * Make cert create/delete sync by active wait, and https_enabled read-only * Add further active waits to align to remote changes * Unit test fixes * Move client to runtime * Aligning create just in case * Update release date * Change tags into a set, make more fields in the cert read only * Remove slices package that isn't supported on older go * Remove processing flag from docs as we're no longer exposing it on the cert
- Loading branch information
Showing
11 changed files
with
1,079 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
resource "ns1_redirect_certificate" "example" { | ||
domain = "*.example.com" | ||
} | ||
|
||
resource "ns1_redirect" "example" { | ||
certificate_id = "${ns1_redirect_certificate.example.id}" | ||
domain = "www.example.com" | ||
path = "/from/path" | ||
target = "https://url.com/target/path" | ||
forwarding_mode = "all" | ||
forwarding_type = "permanent" | ||
https_enabled = true | ||
https_forced = true | ||
query_forwarding = true | ||
tags = [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.