Commit Graph

18 Commits

Author SHA1 Message Date
John Gardiner Myers f1c838f513 Set AssignIPv6AddressOnCreation on subnets 2022-11-22 22:52:49 -08:00
Ciprian Hacman d29812fc6e Replace fi.Bool/Float*/Int*/StringValue() with fi.ValueOf 2022-11-19 03:45:23 +02:00
Ciprian Hacman 8f79c9bd68 Replace fi.Bool/Float*/Int*/String() with fi.PtrTo() 2022-11-19 03:45:22 +02:00
John Gardiner Myers 9f9316a921 Set Resource Based Naming on managed subnets 2021-12-05 17:42:29 -08:00
Ciprian Hacman 13104ec6ea Calculate IPv6 subnet CIDR based on cluster CIDR 2021-06-09 09:57:53 +03:00
John Gardiner Myers 7c9e7e9286 Make Lifecycle field non-pointer 2021-06-02 23:02:16 -07:00
John Gardiner Myers 02f3ba8cd0 Set lifecycle in unit tests 2021-05-31 10:39:33 -07:00
Ciprian Hacman cedbe1f360 Add initial support for configuring IPv6 with AWS 2021-05-19 06:21:07 +03:00
Peter Rifel aadff94bc8
Use EC2's tag-on-create for various resources
This updates DHCP Options, EBS Volumes, InternetGateways, SecurityGroups, Subnets, and VPCs to specify tags at creation-time rather than calling ec2.CreateTags after the resource was created.

I didn't update NATGateway because it adds additional legacy tags that should be evaluated for whether or not they're needed.
I also didn't update SSHKey because it currently isn't tagged at all but it would be good for us to tag down the road.
2020-07-08 15:26:50 -05:00
Li Zhijian 2a6efafaf0 cleanup tempfiles created by tests under awstasks
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
2020-07-02 10:30:04 +08:00
John Gardiner Myers eb58874aea Fix inappropriate use of field.Invalid() 2020-02-16 20:59:33 -08:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin Santa Barbara 1af610a6c4 Use fast-retry and cleanup task options for tests
The launch configuration test exposed that our integration tests don't
retry for very long, and wait a long time in between retries.

Create a RunTasksOptions type to hold the parameters, in particular
max task time, and the amount of time we wait when all tasks have
failed.
2018-06-18 00:04:23 -04:00
chrislovecnm 4fd4bb8d0e subnet test not correct, not sure now 2017-11-01 13:48:12 -06:00
chrislovecnm 8d1ee1fa16 updating files for goimports 2017-11-01 12:51:43 -06:00
Justin Santa Barbara 9cf22aeeef Sort Tags consistently to avoid test flakes 2017-10-23 11:39:18 -04:00
Justin Santa Barbara a7f82a6380 Fix shared subnet/vpc tags
* Stop setting the Name tag on a shared subnet/vpc

* Stop setting the legacy KubernetesCluster tag on a shared subnet/vpc
that is new enough (>=1.6); we rely on the shared tags instead

* Set tags on shared subnets; i.e. we _do_ set the shared tag on a
shared subnet; that is important for ELBs

* Set tags on shared VPCs; i.e. we _do_ set the shared tag on a shared
VPC; that is not used but consistent with subnets.

* Add tests for shared subnet
2017-10-23 11:30:25 -04:00
Justin Santa Barbara 4abb58b0a6 Provide richer error messages for subnet CIDR validation
We just hit this in the real-world again, where a richer error message
would have been helpful.

Fix #1067
2017-04-19 23:27:38 -04:00