forked from hashicorp/terraform
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request hashicorp#1 from johannac/fixdnscreate
Refactor DNS Provider
- Loading branch information
Showing
5 changed files
with
1,168 additions
and
844 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,35 @@ | ||
provider "akamai" { | ||
edgerc = "/Users/dshafik/.edgerc" | ||
edgerc = "/Users/Johanna/.edgerc" | ||
fastdns_section = "dns" | ||
} | ||
|
||
resource "akamai_fastdns_record" "test" { | ||
hostname = "akamaideveloper.com" | ||
name = "testing" | ||
type = "Cname" | ||
active = true | ||
targets = ["developer.akamai.com."] | ||
ttl = 30 | ||
resource "akamai_fastdns_zone" "test_zone" { | ||
hostname = "akamaideveloper.net" | ||
soa { | ||
ttl = 900 | ||
originserver = "akamaideveloper.net." | ||
contact = "hostmaster.akamaideveloper.net." | ||
refresh = 900 | ||
retry = 300 | ||
expire = 604800 | ||
minimum = 180 | ||
} | ||
a { | ||
name = "web" | ||
ttl = 900 | ||
active = true | ||
target = "1.2.3.4" | ||
} | ||
a { | ||
name = "www" | ||
ttl = 600 | ||
active = true | ||
target = "5.6.7.8" | ||
} | ||
cname { | ||
name = "wwwq" | ||
ttl = 600 | ||
active = true | ||
target = "blog.akamaideveloper.net." | ||
} | ||
} |
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.