Commit Graph

212 Commits

Author SHA1 Message Date
Kazumichi Yamamoto cd7f69ab11 New provider arukas (#11171)
* Add a Arukas provider

* Add dependencies for the Arukas provider

* Add documents for the Arukas
2017-02-13 19:11:30 +00:00
Paul Stack 3cdeb4c7d7 docs/profitbricks: Make the documentation not cause build errors for middleman (#11434) 2017-01-26 19:28:01 +02:00
Paul Stack 987b910828 Ns1 provider (#10782)
* vendor: update gopkg.in/ns1/ns1-go.v2

* provider/ns1: Port the ns1 provider to Terraform core

* docs/ns1: Document the ns1 provider

* ns1: rename remaining nsone -> ns1 (#10805)

* Ns1 provider (#11300)

* provider/ns1: Flesh out support for meta structs.

Following the structure outlined by @pashap.

Using reflection to reduce copy/paste.

Putting metas inside single-item lists.  This is clunky, but I couldn't
figure out how else to have a nested struct.  Maybe the Terraform people
know a better way?

Inside the meta struct, all fields are always written to the state; I
can't figure out how to omit fields that aren't used.  This is not just
verbose, it actually causes issues because you can't have both "up" and
"up_feed" set).

Also some minor other changes:
- Add "terraform" import support to records and zones.
- Create helper class StringEnum.

* provider/ns1: Make fmt

* provider/ns1: Remove stubbed out RecordRead (used for testing metadata change).

* provider/ns1: Need to get interface that m contains from Ptr Value with Elem()

* provider/ns1: Use empty string to indicate no feed given.

* provider/ns1: Remove old record.regions fields.

* provider/ns1: Removes redundant testAccCheckRecordState

* provider/ns1: Moves account permissions logic to permissions.go

* provider/ns1: Adds tests for team resource.

* provider/ns1: Move remaining permissions logic to permissions.go

* ns1/provider: Adds datasource.config

* provider/ns1: Small clean up of datafeed resource tests

* provider/ns1: removes testAccCheckZoneState in favor of explicit name check

* provider/ns1: More renaming of nsone -> ns1

* provider/ns1: Comment out metadata for the moment.

* Ns1 provider (#11347)

* Fix the removal of empty containers from a flatmap

Removal of empty nested containers from a flatmap would sometimes fail a
sanity check when removed in the wrong order. This would only fail
sometimes due to map iteration. There was also an off-by-one error in
the prefix check which could match the incorrect keys.

* provider/ns1: Adds ns1 go client through govendor.

* provider/ns1: Removes unused debug line

* docs/ns1: Adds docs around apikey/datasource/datafeed/team/user/record.

* provider/ns1: Gets go vet green
2017-01-23 21:41:07 +00:00
Paul Stack 128af891ca provider/alicloud: Creating the necessary structure for the alicloud documentation (#11289) 2017-01-19 14:40:01 +00:00
clint shryock 87bb691800 Revert "New provider arukas (#10862)"
This reverts commit 9176bd4861.
This provider includes a dependency that at time of writing requires a
*nix system, and will not build on Windows.
2017-01-11 09:04:32 -06:00
Kazumichi Yamamoto 9176bd4861 New provider arukas (#10862)
* Add a Arukas provider

* Add dependencies for the Arukas provider

* Add documents for the Arukas
2017-01-09 17:14:33 +00:00
Tom Harvey 05d00a93ce New Provider: OpsGenie (#11012)
* Importing the OpsGenie SDK

* Adding the goreq dependency

* Initial commit of the OpsGenie / User provider

* Refactoring to return a single client

* Adding an import test / fixing a copy/paste error

* Adding support for OpsGenie docs

* Scaffolding the user documentation for OpsGenie

* Adding a TODO

* Adding the User data source

* Documentation for OpsGenie

* Adding OpsGenie to the internal plugin list

* Adding support for Teams

* Documentation for OpsGenie Team's

* Validation for Teams

* Removing Description for now

* Optional fields for a User: Locale/Timezone

* Removing an implemented TODO

* Running makefmt

* Downloading about half the internet

Someone witty might simply sign this commit with "npm install"

* Adding validation to the user object

* Fixing the docs

* Adding a test creating multple users

* Prompting for the API Key if it's not specified

* Added a test for multiple users / requested changes

* Fixing the linting
2017-01-05 19:25:04 +00:00
Máximo Cuadros 85f0fba9f9 Ignition provider (#6189)
* providers: ignition, basic config, version and config

* providers: ignition, user and passwd example, general cache implementation

* vendor: Capture new dependency upstream-pkg

* providers: ignition ignition_user

* providers: ignition ignition_disk, ignition_group and ignition_raid

* providers: ignition_file and ignition_filesystem

* providers: ignition_systemd_unit and ignition_networkd_unit

* providers: ignition_config improvements

* vendor: Capture new dependency upstream-pkg

* providers: ignition main

* documentation: ignition provider

* providers: ignition minor changes

* providers: ignition, fix test

* fixing tests and latest versions
2017-01-03 11:29:14 +00:00
stack72 d13b843b48
docs/newrelic: Add the New Relic docs to the nav bar 2016-12-15 19:15:00 +00:00
Paul Stack 67b9f88886 docs/icinga2: Adding the documentation to the sidebar of the website (#10671) 2016-12-12 15:53:37 +00:00
Martin Atkins e772b45970 "external" data source, for integrating with external programs (#8768)
* "external" provider for gluing in external logic

This provider will become a bit of glue to help people interface external
programs with Terraform without writing a full Terraform provider.

It will be nowhere near as capable as a first-class provider, but is
intended as a light-touch way to integrate some pre-existing or custom
system into Terraform.

* Unit test for the "resourceProvider" utility function

This small function determines the dependable name of a provider for
a given resource name and optional provider alias. It's simple but it's
a key part of how resource nodes get connected to provider nodes so
worth specifying the intended behavior in the form of a test.

* Allow a provider to export a resource with the provider's name

If a provider only implements one resource of each type (managed vs. data)
then it can be reasonable for the resource names to exactly match the
provider name, if the provider name is descriptive enough for the
purpose of the each resource to be obvious.

* provider/external: data source

A data source that executes a child process, expecting it to support a
particular gateway protocol, and exports its result. This can be used as
a straightforward way to retrieve data from sources that Terraform
doesn't natively support..

* website: documentation for the "external" provider
2016-12-05 17:24:57 +00:00
John Engelman 243ecf3b4f [Provider] Rancher (#9173)
* Vendor Rancher Go library.

* Implement Rancher Provider.

Starting implementation taken from
https://github.com/platanus/terraform-provider-rancher

Commits from jidonoso@gmail.com and raphael.pinson@camptocamp.com
2016-12-05 15:29:41 +00:00
Mitchell Hashimoto fd498fbfff Merge pull request #9538 from hashicorp/f-nomad-provider
provider/nomad: Nomad provider for managing jobs
2016-11-09 18:34:55 -08:00
Mitchell Hashimoto 646b3c1b68 Merge pull request #9158 from hashicorp/f-vault-provider
Vault Provider
2016-11-08 15:27:33 -08:00
Jason Costello 64b75faec4 Merge remote-tracking branch 'hashicorp/master' into website-update 2016-10-31 15:26:47 -07:00
Jason Costello c82137c7ea tighten up spacing under CTA 2016-10-31 15:21:39 -07:00
Jason Costello 0e18a8e406 margin tweaks 2016-10-31 15:08:20 -07:00
Jason Costello f289f823fb margins 2016-10-31 15:03:59 -07:00
Jason Costello 42487320fd wide screen for real 2016-10-31 15:02:48 -07:00
Jason Costello e66fad07d1 ensure skews always overlap for larger displays 2016-10-31 14:12:01 -07:00
Jason Costello 43f94873f3 add skewed div below jumbotron
this is a temp fix until the logos are approved and added back in
2016-10-31 13:48:12 -07:00
Jason Costello 8d97491e23 cleanup 2016-10-31 12:37:51 -07:00
Jason Costello 83fb7fa204 make feature cards links 2016-10-31 12:18:45 -07:00
Jason Costello b74f12dd28 fix webkit rendering issue
this once fixed aliasing issues related to the css transform: skew in
webkit browsers. a recent release causes it to render artifacts and bug
out. removing the declaration fixes it.
2016-10-31 11:52:03 -07:00
Jason Costello b8f17b4df4 optimized svg 2016-10-31 11:36:43 -07:00
Jason Costello c81121a1bb reduce tagline font-size to fit 2016-10-31 09:53:26 -07:00
Martin Atkins d28468d9a3 website: documentation for the vault provider 2016-10-29 23:16:57 -07:00
Mitchell Hashimoto bb5f6498e2
provider/nomad 2016-10-24 10:34:06 -07:00
Alexander Hellbom 6b419e6594 Add documentation 2016-10-24 14:19:55 +02:00
clint shryock c76ce31f27 tweak image path 2016-10-20 11:15:47 -05:00
Jason Costello 0bdf019c5d more clean up 2016-10-14 11:37:48 -07:00
Jason Costello 8e28bd766c clean up 2016-10-14 11:35:32 -07:00
Jason Costello 8b798ba45f position create section bg 2016-10-14 11:34:27 -07:00
Jason Costello 063f748e50 clean up 2016-10-12 10:58:34 -07:00
Jason Costello b05164fc34 rewrite Feature Write styles with image toggle for layout 2016-10-12 10:55:46 -07:00
Jason Costello 5e4f002525 small mobile styles for all but Features 2016-10-11 17:08:42 -07:00
Jason Costello c80e632e11 svg tweaks 2016-10-11 15:09:42 -07:00
Jason Costello f5c6e38be4 better feature plan bg image 2016-10-11 09:20:52 -07:00
Jason Costello 82b43f253d clean up write art 2016-10-11 09:13:59 -07:00
Jason Costello 369f9b6ce3 center demo cta 2016-10-11 08:55:19 -07:00
Jason Costello 6c2c713a39 apply JT's changes to the jumbotron 2016-10-10 19:08:13 -07:00
Jason Costello f5e5a4c7a9 smaller screen styles for customer list 2016-10-10 12:27:53 -07:00
Jason Costello a405bd0af0 max-width 768 type and button base styles 2016-10-10 11:06:39 -07:00
Jason Costello 9a7605ac7b more clean up 2016-10-10 10:47:47 -07:00
Jason Costello 3bd7dac4d0 some clean up 2016-10-10 10:43:42 -07:00
Jason Costello 4df9f1ac23 reposition feature images, correct skew issue 2016-10-09 22:45:56 -07:00
Jason Costello eded063a4e reduce aliasing 2016-10-07 16:43:51 -07:00
Jason Costello c96e6cee1f remove border 2016-10-07 16:00:44 -07:00
Jason Costello 043b47f39d Revert "Revert "skew sections""
This reverts commit 5e02757f6e.
2016-10-07 15:58:51 -07:00
Jason Costello 5e02757f6e Revert "skew sections"
This reverts commit 8b91a903f3.
2016-10-07 15:57:45 -07:00
Jason Costello 8b91a903f3 skew sections 2016-10-07 12:06:42 -07:00
Jason Costello 75dfdc43f8 skew custy logo section 2016-10-07 11:00:02 -07:00
Jason Costello 5763e57a2c add customer logo svgs, style list
had to use a weak positioning method, will fix later
2016-10-06 18:51:00 -07:00
Jason Costello 2d9cfa2b91 reduce enterprise bg size 2016-10-06 11:47:27 -07:00
stack72 62bc112b1b
Adding the bitbucket provider to the website sidebar 2016-10-06 19:25:13 +01:00
Jason Costello 301dc104fc additional padding for announcement section 2016-10-05 16:47:47 -07:00
Jason Costello 5a52cc9b87 style enterprise intro 2016-10-05 16:47:07 -07:00
Jason Costello b719806d97 type tweaks, increase weight and contrast 2016-10-05 16:09:39 -07:00
Jason Costello 00a9c1c9a5 remove l + r padding on announce and net-intro 2016-10-05 15:36:36 -07:00
Jason Costello 12c1855314 add primary CTA and customer list 2016-10-05 14:05:07 -07:00
Jason Costello b6a4bb4033 rename to avoid confusion w existing header classes 2016-10-05 13:13:31 -07:00
Jason Costello 4ef13a0ad4 clean up 2016-10-05 13:10:06 -07:00
Jason Costello a4fec04e75 fix terraform enterprise background art 2016-10-05 12:56:02 -07:00
Jason Costello f8df785400 add announcement bg 2016-10-05 12:51:35 -07:00
Jason Costello 23a747ca06 add feature-create background art 2016-10-05 12:39:53 -07:00
Jason Costello 0fa913c772 add background art for feature-plan 2016-10-05 12:31:21 -07:00
Jason Costello 51e3f20fc0 add enterprise-callout background art 2016-10-05 11:53:43 -07:00
Jason Costello b2438a1e05 add feature-write background art 2016-10-05 11:53:28 -07:00
Jason Costello ec049e7604 fix typo 2016-10-05 06:31:31 -07:00
Jason Costello a6f80314a1 remove unused feature image 2016-10-05 06:28:37 -07:00
Jason Costello a4befdb475 add basic enterprise section 2016-10-04 19:27:35 -07:00
Jason Costello 839265f7bd update outline-button styles 2016-10-04 19:12:19 -07:00
Jason Costello af306087d7 add announcement section
still need to fix a wonky container alignment issue and add background
2016-10-04 19:12:05 -07:00
Jason Costello e241eba249 nuke old CTA and styles 2016-10-04 18:22:54 -07:00
Jason Costello 81a9655a1b set feature lead paragraphs max-width 2016-10-04 18:15:17 -07:00
Jason Costello e9ab088eba lessen margin on terminals 2016-10-04 18:11:15 -07:00
Jason Costello f0c2ec056b add CTA to Examples section, set type 2016-10-04 18:08:55 -07:00
Jason Costello a432ab2bc1 less specific type, set type for Examples section 2016-10-04 16:52:17 -07:00
Jason Costello 7aced5b1b6 add and style feature-card graphics 2016-10-04 16:03:46 -07:00
Jason Costello 8973d3c11c nest styles in .page-home class 2016-10-04 11:07:55 -07:00
Jason Costello b41ed8c32d tweaks Plan section 2016-10-03 13:06:23 -07:00
Jason Costello 37d97623d7 basic structure for Write feature 2016-10-03 12:51:57 -07:00
Jason Costello b992e8e3e3 feature cards 2016-10-03 12:20:26 -07:00
Seth Vargo 8edd0ae2b1
Fix rabbitmq docs background
Refs: https://twitter.com/Jippi/status/780860130468528128
2016-09-27 13:12:07 -07:00
Radek Simko 43de2afde1
docs: Fix misspelled words 2016-09-12 07:08:00 +01:00
James Nugent 61f885aa86 website: Add archive provider to sidebar and css 2016-08-22 05:30:37 +02:00
Paul Stack 0abf0b2666 website: Scaleway Documentation (#7685)
Scaleway wasn't added to the
`website/source/assets/stylesheets/_docs.scss` file
2016-07-18 10:44:27 +01:00
Derek Abdine 7bdc060d24 provider/logentries: Implementing logentries provider (#7067)
* logentries provider

* logentries vendoring

* logentries docs
2016-07-12 14:14:39 +01:00
James Nugent 5a0f6565d3 Merge pull request #6672 from apparentlymart/random-provider
Logical Resources for Random Values
2016-05-29 11:58:42 -07:00
Martin Atkins 158a90b25b Grafana Provider, with Data Source and Dashboard resources (#6206)
* Grafana provider

* grafana_data_source resource.

Allows data sources to be created in Grafana. Supports all data source
types that are accepted in the current version of Grafana, and will
support any future ones that fit into the existing structure.

* Vendoring of apparentlymart/go-grafana-api

This is in anticipation of adding a Grafana provider plugin.

* grafana_dashboard resource

* Website documentation for the Grafana provider.
2016-05-20 10:20:17 +01:00
Martin Atkins feafc94dde website: docs for the "random" provider 2016-05-14 16:49:10 -07:00
Mitchell Hashimoto d1b46e99bd Add `terraform state list` command
This introduces the terraform state list command to list the resources
within a state. This is the first of many state management commands to
come into 0.7.

This is the first command of many to come that is considered a
"plumbing" command within Terraform (see "plumbing vs porcelain":
http://git.661346.n2.nabble.com/what-are-plumbing-and-porcelain-td2190639.html).
As such, this PR also introduces a bunch of groundwork to support
plumbing commands.

The main changes:

- Main command output is changed to split "common" and "uncommon"
  commands.

- mitchellh/cli is updated to support nested subcommands, since
  terraform state list is a nested subcommand.

- terraform.StateFilter is introduced as a way in core to filter/search
  the state files. This is very basic currently but I expect to make it
  more advanced as time goes on.

- terraform state list command is introduced to list resources in a
  state. This can take a series of arguments to filter this down.

Known issues, or things that aren't done in this PR on purpose:

- Unit tests for terraform state list are on the way. Unit tests for the
  core changes are all there.
2016-05-10 14:14:47 -04:00
captainill 5ed03602d7 add a height to svg in bnr to fix IE bug 2016-05-03 18:37:47 -07:00
danielcbright 8921e10d71 Added softlayer virtual guest and ssh keys functionality:
Here is an example that will setup the following:
+ An SSH key resource.
+ A virtual server resource that uses an existing SSH key.
+ A virtual server resource using an existing SSH key and a Terraform managed SSH key (created as "test_key_1" in the example below).

(create this as sl.tf and run terraform commands from this directory):
```hcl
provider "softlayer" {
    username = ""
    api_key = ""
}

resource "softlayer_ssh_key" "test_key_1" {
    name = "test_key_1"
    public_key = "${file(\"~/.ssh/id_rsa_test_key_1.pub\")}"
    # Windows Example:
    # public_key = "${file(\"C:\ssh\keys\path\id_rsa_test_key_1.pub\")}"
}

resource "softlayer_virtual_guest" "my_server_1" {
    name = "my_server_1"
    domain = "example.com"
    ssh_keys = ["123456"]
    image = "DEBIAN_7_64"
    region = "ams01"
    public_network_speed = 10
    cpu = 1
    ram = 1024
}

resource "softlayer_virtual_guest" "my_server_2" {
    name = "my_server_2"
    domain = "example.com"
    ssh_keys = ["123456", "${softlayer_ssh_key.test_key_1.id}"]
    image = "CENTOS_6_64"
    region = "ams01"
    public_network_speed = 10
    cpu = 1
    ram = 1024
}
```

You'll need to provide your SoftLayer username and API key,
so that Terraform can connect. If you don't want to put
credentials in your configuration file, you can leave them
out:

```
provider "softlayer" {}
```

...and instead set these environment variables:

- **SOFTLAYER_USERNAME**: Your SoftLayer username
- **SOFTLAYER_API_KEY**: Your API key
2016-05-03 15:58:58 -05:00
Henrik Hodne 8f07a2d6d5 provider/librato: Add Librato provider 2016-04-29 14:49:55 -05:00
James Nugent 33b39a7145 website: Fix background on Cobbler docs 2016-04-26 13:15:45 -05:00
captainill c5dbf1d04a annoucnement bnr 2016-04-11 13:02:15 -05:00
Clint c9293cc832 Merge pull request #5814 from hashicorp/provider-fastly-v1
provider/fastly: V1 of the Fastly Provider
2016-03-24 10:57:32 -05:00
clint shryock 2ad37bba4a provider/fastly: Add Fastly Provider, ServiceV1 resource 2016-03-23 14:53:50 -05:00
Seth Vargo 85d54e62d3 Do not build supporting JS files
These files are already included in the bundle
2016-03-22 23:33:40 +02:00