Clint
a3ae38d1bb
docs: Update AWS Data Source docs to have HCL formatted examples ( #13467 )
...
* docs: update AWS examples. Disntinguish between alb and alb listener datasource
* more hcl highlighting
* more hcl
* fix missing end quote in docs
* docs: finish updates to AWS data source highlights
Also updates layout to distinguish some resources
2017-04-07 10:54:28 -05:00
George Christou
61277c0dbd
website/docs: Run `terraform fmt` on code examples ( #12075 )
...
* docs/vsphere: Fix code block
* docs: Convert `...` to `# ...` to allow `terraform fmt`ing
* docs: Trim trailing whitespace
* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00
James Turnbull
f8f33f71fe
Minor grammar fixes to AWS Instance data source
...
Minor grammar fixes to AWS Instance data source.
2017-02-04 11:00:46 -05:00
Jake Champlin
c99bc8a807
Add instance_tags as an additional filter
2017-01-18 13:14:49 -05:00
Jake Champlin
9cbd67dd0b
provider/aws: Add aws_instance data source
...
Adds the `aws_instance` data source, tests, and documentation.
```
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/01/18 11:49:09 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSInstanceDataSource -timeout 120m
=== RUN TestAccAWSInstanceDataSource_basic
--- PASS: TestAccAWSInstanceDataSource_basic (106.24s)
=== RUN TestAccAWSInstanceDataSource_AzUserData
--- PASS: TestAccAWSInstanceDataSource_AzUserData (108.52s)
=== RUN TestAccAWSInstanceDataSource_gp2IopsDevice
--- PASS: TestAccAWSInstanceDataSource_gp2IopsDevice (80.71s)
=== RUN TestAccAWSInstanceDataSource_blockDevices
--- PASS: TestAccAWSInstanceDataSource_blockDevices (94.07s)
=== RUN TestAccAWSInstanceDataSource_rootInstanceStore
--- PASS: TestAccAWSInstanceDataSource_rootInstanceStore (95.17s)
=== RUN TestAccAWSInstanceDataSource_privateIP
--- PASS: TestAccAWSInstanceDataSource_privateIP (241.75s)
=== RUN TestAccAWSInstanceDataSource_keyPair
--- PASS: TestAccAWSInstanceDataSource_keyPair (208.77s)
=== RUN TestAccAWSInstanceDataSource_VPC
--- PASS: TestAccAWSInstanceDataSource_VPC (109.89s)
=== RUN TestAccAWSInstanceDataSource_SecurityGroups
--- PASS: TestAccAWSInstanceDataSource_SecurityGroups (118.66s)
=== RUN TestAccAWSInstanceDataSource_VPCSecurityGroups
--- PASS: TestAccAWSInstanceDataSource_VPCSecurityGroups (136.79s)
PASS
ok github.com/hashicorp/terraform/builtin/providers/aws 1300.625s
```
2017-01-18 12:19:44 -05:00