Paul Hinze
85c89c3ec6
Merge pull request #1350 from fanhaf/panic_DBName_null
...
Provider/AWS: RDS - Avoid panics when DBName is not set
2015-04-01 09:02:52 -05:00
Phil Frost
27f0873de7
Don't error when reading s3 bucket with no tags
...
s3.GetBucketTagging returns an error if there are no tags associated
with a bucket. Consequently, any configuration with a tagless s3 bucket
would fail with an error, "the TagSet does not exist".
Handle that error more appropriately, interpreting it as an empty set of
tags.
2015-04-01 08:57:50 -04:00
Michał Guminiak
dc67b043fa
Avoid panics when DBName is not set
...
provider/aws: The DBName in RDS instance is optional and when
not set, the Read function return null.
2015-04-01 14:43:05 +02:00
Paul Hinze
08814a51ba
Merge pull request #924 from jrperritt/openstack-gophercloud-v1.0
...
OpenStack Provider
2015-03-31 16:58:21 -05:00
Mitchell Hashimoto
3a167c0216
Merge pull request #1329 from hashicorp/f-docker
...
Docker provider
2015-03-31 14:50:08 -07:00
Chris Buben
0092946f74
user_data support
...
Mostly stolen from: https://github.com/jtopjian/terraform-provider-openstack/blob/master/openstack/resource_openstack_instance.go
2015-03-31 09:54:50 -06:00
Julien Vey
2e37784065
Fix general comments by @phinze
2015-03-31 09:54:50 -06:00
Joe Topjian
f011462e30
Volume Pending States
...
This commit adds pending states for volume attachment, detachment,
and deletion.
2015-03-31 09:54:50 -06:00
Joe Topjian
f5feb7fbbb
Allows "self" to be discovered and recorded correctly.
2015-03-31 09:54:50 -06:00
Guillaume Giamarchi
ba880b136b
Code clean-up
2015-03-31 09:54:50 -06:00
Guillaume Giamarchi
83160acf69
Return Read call result in Create & Update
2015-03-31 09:54:50 -06:00
Guillaume Giamarchi
bdeca31731
remove boilerplate code using CheckDeleted
2015-03-31 09:54:50 -06:00
Guillaume Giamarchi
16a963313f
FWaaS version is actually v1 not v2
...
Rename files and methods.
Confusion have been made between neutron
version and FWaaS extension version.
2015-03-31 09:54:50 -06:00
Guillaume Giamarchi
1efaaeeca6
Use d.GetOk to populate data in read operations
2015-03-31 09:54:50 -06:00
Guillaume Giamarchi
ed31588b84
Unassociate firewall rule from policy before delete
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
54174dcc05
Fix firewall policies tests
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
c5e861c049
Remove useless code
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
1c981d6f30
Fix race conditions on firewall state transition
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
d6733fb379
Fix code regarding to the latest gophercloud code
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
cfd3329e00
Add tenant_id attribute on FWaaS resources
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
0ab06af410
Add FWaaS firewall acceptance test
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
06826fb677
Add FWaaS policy acceptance test
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
88a55a5d58
Enable FWaaS resources
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
3d1001d8fe
Add FWaaS rule acceptance test
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
5d42242d4b
Add FWaaS firewall resource
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
f829427151
Add FWaaS policy resource
2015-03-31 09:54:49 -06:00
Guillaume Giamarchi
552b0af201
Add FWaaS rule resource
2015-03-31 09:54:49 -06:00
Joe Topjian
102848525f
Added CheckDelete to handle bad Gets. Also removed unneeded Get
...
from Delete.
2015-03-31 09:54:49 -06:00
Joe Topjian
b7091414fe
Volume Safe Delete
...
This commit ensures that a volume is detached from all instances
before it is deleted.
It also adds in an `attachment` exported parameter that shows details
of the volume's attachment(s).
2015-03-31 09:54:49 -06:00
Joe Topjian
c3c4840baf
openstack_compute_floatingip_v2
...
This commit adds a resource that allows the user to allocate,
deallocate, associate, and disassociate floating IPs through the
nova api.
2015-03-31 09:54:49 -06:00
Eric Bellemon
d03b420e62
Replace perigee.UnexpectedResponseCodeError with gophercloud.UnexpectedResponseCodeError
2015-03-31 09:54:49 -06:00
Long Nguyen
42fb14f19a
Added self option to security groups
2015-03-31 09:54:49 -06:00
Joe Topjian
79e5c419c3
Fixing rule/rules and re-arranged order for schema consistency
2015-03-31 09:54:49 -06:00
Joe Topjian
4c9a44b69f
Added access_ip_v6 support
...
This commit populates access_ip_v6 by either the AccessIPv6 attribute
or by finding the first available IPv6 address.
This commit retains the original feature of setting the default ssh
connection to the IPv4 address unless one is not found. IPv6 access
can still be enabled by explicitly setting it in the resource paramters.
This commit also removes d.Set("host") in favor of SetConnInfo
2015-03-31 09:54:49 -06:00
Jon Perritt
633e98dffe
security group rule fix; still not exporting rule ID
2015-03-31 09:54:49 -06:00
Joe Topjian
4df32aebed
Changing how security groups are read for compute instances
2015-03-31 09:54:49 -06:00
Jon Perritt
64d53009a0
typeset->typelist
2015-03-31 09:54:49 -06:00
Jon Perritt
bb6969a4c5
resize server on flavor_id or flavor_name change
2015-03-31 09:54:49 -06:00
Jon Perritt
49b01a4f0a
update compute instance security group Read operation
2015-03-31 09:54:49 -06:00
Joe Topjian
e5f2315bfe
Instance volume attach
...
This commit adds the ability for instances to attach volumes from within their resource.
2015-03-31 09:54:48 -06:00
Joe Topjian
16ea14e8c9
Grammar fix
2015-03-31 09:54:48 -06:00
Joe Topjian
b3438d07d6
This commit enables both the image_id and the image_name to be
...
computed, so that specifying one will populate the other.
2015-03-31 09:54:48 -06:00
Joe Topjian
768292c069
Support for flavor_name
...
This commit renames flavor_ref to flavor_id and adds the flavor_name
parameter. Users can now specify either a flavor ID or name when launching
instances.
2015-03-31 09:54:48 -06:00
Joe Topjian
74482abc5b
Refactoring multiple results
2015-03-31 09:54:48 -06:00
Joe Topjian
bad2c9f18d
Accounting for multiple results of an image name
...
If multiple results are found, an error will be returned to the user.
2015-03-31 09:54:48 -06:00
Joe Topjian
f51a53000f
Support for image_name
...
This commit renames image_ref to image_id and adds the image_name
parameter. Users can now specify either an image UUID or image name
when launching instances.
image_name is preferrable as deployers/sysadmins generally regularly
deprecate/remove outdated and insecure images. Using a consistent
naming scheme allows end-users to always retrieve a working image.
2015-03-31 09:54:48 -06:00
Jon Perritt
fafa946871
handle 404 (Not Found) in Get operations
2015-03-31 09:54:48 -06:00
Eric Bellemon
9b30ef4eb2
Remove region properties on acceptance tests
2015-03-31 09:54:48 -06:00
Eric Bellemon
e9abf04e4b
Add router interface resource
2015-03-31 09:54:48 -06:00
Eric Bellemon
32d0e36709
Add router resource
2015-03-31 09:54:48 -06:00