cloudstack-terraform-provider.git
10 days agofix for using display_text as a filter in template datasource (#43) main
Daman Arora [Wed, 21 Sep 2022 09:41:38 +0000 (05:41 -0400)] 
fix for using display_text as a filter in template datasource (#43)

Fixed in https://github.com/apache/cloudstack-terraform-provider/issues/42

3 months agoMerge pull request #36 from apache/add-cks-versions
Harikrishna [Mon, 13 Jun 2022 05:57:07 +0000 (11:27 +0530)] 
Merge pull request #36 from apache/add-cks-versions

Adding support for Kubernetes ISOs

3 months agoAdding support for Kubernetes ISOs add-cks-versions 36/head
davidjumani [Fri, 10 Jun 2022 09:07:02 +0000 (14:37 +0530)] 
Adding support for Kubernetes ISOs

3 months agoMerge pull request #35 from apache/add-cks
Harikrishna [Fri, 10 Jun 2022 08:39:40 +0000 (14:09 +0530)] 
Merge pull request #35 from apache/add-cks

Adding support for Kubernetes Clusters

3 months agoAdding support for Kubernetes Clusters add-cks 35/head
davidjumani [Wed, 8 Jun 2022 08:24:48 +0000 (13:54 +0530)] 
Adding support for Kubernetes Clusters

8 months agoMerge pull request #30 from apache/FixTerraformDestroyForIpAddress v0.4.0 v0.4.0-RC1
Harikrishna [Tue, 18 Jan 2022 06:28:47 +0000 (11:58 +0530)] 
Merge pull request #30 from apache/FixTerraformDestroyForIpAddress

Fix ip address deletion during "terraform destory" command

8 months agoFix ip address deletion during "terraform destory" command. All created IP addresses... FixTerraformDestroyForIpAddress 30/head
Harikrishna Patnala [Tue, 11 Jan 2022 07:47:02 +0000 (13:17 +0530)] 
Fix ip address deletion during "terraform destory" command. All created IP addresses will be destroyed but the IP having source nat, does not have to be deassociated.

9 months agoMerge pull request #27 from apache/FixPFUpdateState
Harikrishna [Tue, 7 Dec 2021 10:22:08 +0000 (15:52 +0530)] 
Merge pull request #27 from apache/FixPFUpdateState

Fix port forwarding to update state only if there are no errors

9 months agoFix port forwarding to update state only if there are no errors FixPFUpdateState 27/head
Harikrishna Patnala [Tue, 7 Dec 2021 09:09:52 +0000 (14:39 +0530)] 
Fix port forwarding to update state only if there are no errors

11 months agoAdd project id for reset ssh key for VM API (#12)
Harikrishna [Thu, 28 Oct 2021 08:44:55 +0000 (14:14 +0530)] 
Add project id for reset ssh key for VM API (#12)

11 months agoFix or update dependencies (#10)
Harikrishna [Wed, 20 Oct 2021 11:47:43 +0000 (17:17 +0530)] 
Fix or update dependencies (#10)

* updated CloudStack-go and other dependencies

* Added new dependency changes

11 months agoUpdated the document with detailed information (#9)
Harikrishna [Mon, 18 Oct 2021 08:50:11 +0000 (14:20 +0530)] 
Updated the document with detailed information (#9)

* Updated the document with detailed information

* Updated the release version number

* Updated terraform and go version

11 months agoFix resource egress rule to accept protocol type ALL (#8)
Harikrishna [Mon, 11 Oct 2021 07:44:52 +0000 (13:14 +0530)] 
Fix resource egress rule to accept protocol type ALL (#8)

11 months agoFix Makefile and handle error checks (#6)
Pearl Dsilva [Thu, 7 Oct 2021 07:07:05 +0000 (12:37 +0530)] 
Fix Makefile and handle error checks (#6)

11 months agoAdd support to provide VM details during VM deployment - when using custom offering...
Pearl Dsilva [Wed, 6 Oct 2021 04:41:00 +0000 (10:11 +0530)] 
Add support to provide VM details during VM deployment - when using custom offering (#7)

11 months agocode formatting (#5)
Harikrishna [Tue, 5 Oct 2021 07:13:10 +0000 (12:43 +0530)] 
code formatting (#5)

13 months agopublish go release directly on cloudstack/terraform-provider-cloudstack
Rohit Yadav [Tue, 3 Aug 2021 07:19:06 +0000 (12:49 +0530)] 
publish go release directly on cloudstack/terraform-provider-cloudstack

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
13 months ago.goreleaser: add as per Terraform docs
Rohit Yadav [Tue, 3 Aug 2021 06:26:07 +0000 (11:56 +0530)] 
.goreleaser: add as per Terraform docs

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
14 months ago.asf.yaml: trivial edit
Rohit Yadav [Tue, 27 Jul 2021 09:07:32 +0000 (14:37 +0530)] 
.asf.yaml: trivial edit

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
14 months agoperformrelease: add script to allow RM to cut RC
Rohit Yadav [Tue, 27 Jul 2021 07:00:14 +0000 (12:30 +0530)] 
performrelease: add script to allow RM to cut RC

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
14 months agocloudstack: fix build to use github.com/apache/cloudstack-go SDK
Rohit Yadav [Tue, 27 Jul 2021 06:48:58 +0000 (12:18 +0530)] 
cloudstack: fix build to use github.com/apache/cloudstack-go SDK

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
14 months ago.asf.yaml: enable issues, wiki, and projects
Rohit Yadav [Tue, 27 Jul 2021 06:11:04 +0000 (11:41 +0530)] 
.asf.yaml: enable issues, wiki, and projects

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
14 months agoREADME: update post import of codebase after IP clearance
Rohit Yadav [Mon, 26 Jul 2021 06:10:26 +0000 (11:40 +0530)] 
README: update post import of codebase after IP clearance

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
15 months agoDeleted old CI/CD references apache-license-2.0
Sander van Harmelen [Mon, 21 Jun 2021 11:07:20 +0000 (13:07 +0200)] 
Deleted old CI/CD references

15 months agoRemove obsolete vendor directory
Sander van Harmelen [Mon, 21 Jun 2021 10:44:24 +0000 (12:44 +0200)] 
Remove obsolete vendor directory

15 months agoUpdate license to Apache License, Version 2.0
Sander van Harmelen [Mon, 21 Jun 2021 10:42:46 +0000 (12:42 +0200)] 
Update license to Apache License, Version 2.0

21 months agoUpdate README.md
Tony Carmichael [Mon, 7 Dec 2020 19:30:39 +0000 (12:30 -0700)] 
Update README.md

Add archive notice

2 years agoMerge pull request #71 from terraform-providers/f-v2
Sander van Harmelen [Wed, 13 Nov 2019 14:30:35 +0000 (15:30 +0100)] 
Merge pull request #71 from terraform-providers/f-v2

Update the module to properly use v2

2 years agoUpdate the module to properly use v2
Sander van Harmelen [Wed, 13 Nov 2019 14:20:48 +0000 (15:20 +0100)] 
Update the module to properly use v2

2 years agoMerge pull request #70 from cezarsa/fixgettemplateid
Sander van Harmelen [Wed, 13 Nov 2019 14:25:35 +0000 (15:25 +0100)] 
Merge pull request #70 from cezarsa/fixgettemplateid

Fix reading template in autoscale vm profile resource

2 years agoFix reading template in autoscale vm profile resource
Cezar Sa Espinola [Mon, 21 Oct 2019 17:01:02 +0000 (14:01 -0300)] 
Fix reading template in autoscale vm profile resource

If a template is available on multiple zones cloudstack will return the
same template ID multiple times for each zone on a call to
listTemplates.

This behavior causes `GetTemplateByID` function to fail when the
template is in multiple zones because it ensures that the list contains
a single entry.

This behavior caused autoscale vm profile read step to fail when the
template was in multiple zones. The fix here is setting the zoneID
alongside with the templateID on calls to `GetTemplateByID`.

2 years agoUpdate go-cloudstack version in modules and vendor
Cezar Sa Espinola [Tue, 12 Nov 2019 18:13:08 +0000 (15:13 -0300)] 
Update go-cloudstack version in modules and vendor

3 years agoReorder a few params to match the ordering in the docs
Sander van Harmelen [Mon, 23 Sep 2019 19:11:32 +0000 (21:11 +0200)] 
Reorder a few params to match the ordering in the docs

3 years agoMerge pull request #69 from cezarsa/autoscalevmprofile
Sander van Harmelen [Mon, 23 Sep 2019 19:05:41 +0000 (21:05 +0200)] 
Merge pull request #69 from cezarsa/autoscalevmprofile

Add cloudstack_autoscale_vm_profile resource

3 years agoAdd AutoScaleVmProfile resource
Cezar Sa Espinola [Wed, 4 Sep 2019 17:08:29 +0000 (14:08 -0300)] 
Add AutoScaleVmProfile resource

3 years agovendor: update go-cloudstack version to v2.7.0
Cezar Sa Espinola [Wed, 4 Sep 2019 17:07:39 +0000 (14:07 -0300)] 
vendor: update go-cloudstack version to v2.7.0

3 years agoUpdate CHANGELOG.md
Sander van Harmelen [Sun, 14 Jul 2019 10:19:32 +0000 (12:19 +0200)] 
Update CHANGELOG.md

3 years agoMerge pull request #65 from cezarsa/tags
Sander van Harmelen [Sun, 14 Jul 2019 10:17:09 +0000 (12:17 +0200)] 
Merge pull request #65 from cezarsa/tags

Add back support for tags in resources

3 years agoAdd back support for tags in resources
Cezar Sa Espinola [Mon, 8 Jul 2019 15:03:01 +0000 (12:03 -0300)] 
Add back support for tags in resources

The support for tags was previsously removed due to a bug in cloudstack
4.9-4.11. However, the bug has already been fixed in cloudstack 4.11.3+
and 4.12+. And since the vendored cloudstack lib used has also been
updated to 4.12 it's now safe to support tags again.

Fixes #57

3 years agoCleanup after v0.3.0 release
tf-release-bot [Wed, 29 May 2019 11:38:18 +0000 (11:38 +0000)] 
Cleanup after v0.3.0 release

3 years agov0.3.0 v0.3.0
tf-release-bot [Wed, 29 May 2019 11:31:46 +0000 (11:31 +0000)] 
v0.3.0

3 years agoUpdate the CHANGELOG
Sander van Harmelen [Mon, 27 May 2019 06:59:46 +0000 (08:59 +0200)] 
Update the CHANGELOG

3 years agoMerge pull request #64 from terraform-providers/svh/f-cs-4.12
Sander van Harmelen [Sun, 26 May 2019 12:35:29 +0000 (14:35 +0200)] 
Merge pull request #64 from terraform-providers/svh/f-cs-4.12

gomod: update terraform and go-cloudstack

3 years agogomod: update terraform and go-cloudstack
Sander van Harmelen [Fri, 10 May 2019 09:42:39 +0000 (11:42 +0200)] 
gomod: update terraform and go-cloudstack

3 years agoMerge pull request #61 from terraform-providers/fix-go-sum-checksum
Radek Simko [Tue, 19 Mar 2019 09:46:02 +0000 (09:46 +0000)] 
Merge pull request #61 from terraform-providers/fix-go-sum-checksum

go.sum: Fix checksum

3 years agoPin Go to 1.11.5
Radek Simko [Tue, 19 Mar 2019 09:42:37 +0000 (09:42 +0000)] 
Pin Go to 1.11.5

3 years agogo mod tidy
Radek Simko [Tue, 19 Mar 2019 09:34:44 +0000 (09:34 +0000)] 
go mod tidy

3 years agoMerge pull request #60 from nfagerlund/mar19_broken_links
Sander van Harmelen [Wed, 13 Mar 2019 19:15:46 +0000 (20:15 +0100)] 
Merge pull request #60 from nfagerlund/mar19_broken_links

website: Update link to file function

3 years agowebsite: Update link to file function
Nick Fagerlund [Wed, 13 Mar 2019 19:07:33 +0000 (19:07 +0000)] 
website: Update link to file function

3 years agoUpdate CHANGELOG.md
Sander van Harmelen [Fri, 25 Jan 2019 08:27:52 +0000 (09:27 +0100)] 
Update CHANGELOG.md

3 years agoUpdate CHANGELOG.md
Sander van Harmelen [Wed, 16 Jan 2019 13:31:14 +0000 (14:31 +0100)] 
Update CHANGELOG.md

3 years agoMerge pull request #56 from terraform-providers/svh/f-import-project
Sander van Harmelen [Wed, 16 Jan 2019 13:30:00 +0000 (14:30 +0100)] 
Merge pull request #56 from terraform-providers/svh/f-import-project

Add support to import resources when using projects

3 years agoAdd support to import resources when using projects
Sander van Harmelen [Wed, 16 Jan 2019 13:17:45 +0000 (14:17 +0100)] 
Add support to import resources when using projects

3 years agoUpdate .travis.yml to have proper indentation
Sander van Harmelen [Tue, 8 Jan 2019 08:43:59 +0000 (09:43 +0100)] 
Update .travis.yml to have proper indentation

3 years agoMerge pull request #55 from terraform-providers/go1.11-upgrade-2019-01-07
Sander van Harmelen [Tue, 8 Jan 2019 08:41:26 +0000 (09:41 +0100)] 
Merge pull request #55 from terraform-providers/go1.11-upgrade-2019-01-07

[AUTOMATED] Upgrade to Go 1.11

3 years agoprovider: Require Go 1.11 in TravisCI and README
Alex Pilon [Mon, 7 Jan 2019 21:51:44 +0000 (16:51 -0500)] 
provider: Require Go 1.11 in TravisCI and README
provider: Run go fix
provider: Run go fmt

3 years agoCleanup after v0.2.0 release
tf-release-bot [Thu, 3 Jan 2019 14:06:35 +0000 (14:06 +0000)] 
Cleanup after v0.2.0 release

3 years agov0.2.0 v0.2.0
tf-release-bot [Thu, 3 Jan 2019 14:01:30 +0000 (14:01 +0000)] 
v0.2.0

3 years agoUpdate CHANGELOG.md
Sander van Harmelen [Thu, 27 Dec 2018 13:51:30 +0000 (14:51 +0100)] 
Update CHANGELOG.md

3 years agoMerge pull request #51 from terraform-providers/svh/f-start-vm
Sander van Harmelen [Thu, 27 Dec 2018 13:50:44 +0000 (14:50 +0100)] 
Merge pull request #51 from terraform-providers/svh/f-start-vm

Update the instance import logic to work with the new field

3 years agoUpdate the instance import logic to work with the new field
Sander van Harmelen [Thu, 27 Dec 2018 13:45:08 +0000 (14:45 +0100)] 
Update the instance import logic to work with the new field

3 years agoMerge pull request #50 from terraform-providers/svh/f-start-vm
Sander van Harmelen [Thu, 27 Dec 2018 13:28:05 +0000 (14:28 +0100)] 
Merge pull request #50 from terraform-providers/svh/f-start-vm

r/cloudstack_instance: support deploying a stopped vm

3 years agor/cloudstack_instance: support deploying a stopped vm
Sander van Harmelen [Thu, 27 Dec 2018 13:23:16 +0000 (14:23 +0100)] 
r/cloudstack_instance: support deploying a stopped vm

3 years agoUpdate CHANGELOG.md
Sander van Harmelen [Thu, 27 Dec 2018 13:11:03 +0000 (14:11 +0100)] 
Update CHANGELOG.md

3 years agoMerge pull request #49 from terraform-providers/svh/f-lb-cert
Sander van Harmelen [Thu, 27 Dec 2018 13:09:22 +0000 (14:09 +0100)] 
Merge pull request #49 from terraform-providers/svh/f-lb-cert

r/loadbalancer_rule: add support for SSL offloading

3 years agor/loadbalancer_rule: add support for SSL offloading
Sander van Harmelen [Thu, 27 Dec 2018 12:49:58 +0000 (13:49 +0100)] 
r/loadbalancer_rule: add support for SSL offloading

3 years agoMerge pull request #48 from terraform-providers/svh/f-user-data
Sander van Harmelen [Thu, 27 Dec 2018 12:37:21 +0000 (13:37 +0100)] 
Merge pull request #48 from terraform-providers/svh/f-user-data

Allow user-data to be plain text or base64 encoded text

3 years agoAllow user-data to be plain text or base64 encoded text
Sander van Harmelen [Thu, 27 Dec 2018 12:32:39 +0000 (13:32 +0100)] 
Allow user-data to be plain text or base64 encoded text

Closes #41

3 years agoUpdate README.md
Sander van Harmelen [Wed, 26 Dec 2018 14:54:50 +0000 (15:54 +0100)] 
Update README.md

3 years agoAdd information about the test setup
Sander van Harmelen [Wed, 26 Dec 2018 14:53:29 +0000 (15:53 +0100)] 
Add information about the test setup

3 years agoUpdate CHANGELOG.md
Sander van Harmelen [Wed, 26 Dec 2018 14:32:12 +0000 (15:32 +0100)] 
Update CHANGELOG.md

3 years agoMerge pull request #47 from terraform-providers/svh/f-imports
Sander van Harmelen [Wed, 26 Dec 2018 14:21:03 +0000 (15:21 +0100)] 
Merge pull request #47 from terraform-providers/svh/f-imports

Add support for importing resources

3 years agoAdd support for importing resources
Sander van Harmelen [Wed, 26 Dec 2018 14:09:37 +0000 (15:09 +0100)] 
Add support for importing resources

This commit adds import support to resources that do not require custom import functions.

All other resources that are not included in this commit, will need more time and effort as they require custom logic to support being imported.

3 years agoMerge pull request #46 from terraform-providers/svh/f-update-tests
Sander van Harmelen [Wed, 26 Dec 2018 09:52:45 +0000 (10:52 +0100)] 
Merge pull request #46 from terraform-providers/svh/f-update-tests

Make the tests work with the CloudStack Simulator

3 years agoMake the tests work with the CloudStack Simulator
Sander van Harmelen [Mon, 24 Dec 2018 10:16:41 +0000 (11:16 +0100)] 
Make the tests work with the CloudStack Simulator

3 years agogo-mod: switch to using Go modules
Sander van Harmelen [Mon, 24 Dec 2018 11:04:10 +0000 (12:04 +0100)] 
go-mod: switch to using Go modules

Still keep the vendor directory to make sure we are backwards comptible with CI setups not using Go modules yet.

4 years agodisk: Read attach field using volume's Virtualmachineid (#38)
Cezar Sá Espinola [Thu, 12 Jul 2018 08:26:49 +0000 (05:26 -0300)] 
disk: Read attach field using volume's Virtualmachineid (#38)

The `.Attached` field is unreliable, there are situations where
cloudstack will return an empty `.Attached` value even if the disk is
attached to a VM. So far I've seem this happen when the disk is created
alongside with the virtualmachine (deployVirtualMachine called with the
`size` attribute) but there may be other situations where this also
happens.

Checking for the `.Virtualmachineid` field to set the `attach` attribute
seems a safer approach as it's always set when the volume is already
attached.

I came across this when importing an existing infrastructure to
terraform by manually creating a state file, the existing VMs have
attached volumes that were created with them and these volumes don't
have a `.Attached` field. This causes the cloudstack provider to try to
attach them to the same VMs they are already attached, raising an error.

4 years agoREADME.md: correct provider organization & missing repository name
kt [Wed, 2 May 2018 18:12:17 +0000 (11:12 -0700)] 
README.md: correct provider organization & missing repository name

4 years agoMerge pull request #37 from terraform-providers/f-make-website
Radek Simko [Mon, 30 Apr 2018 15:30:31 +0000 (16:30 +0100)] 
Merge pull request #37 from terraform-providers/f-make-website

make: Add website + website-test targets

4 years agomake: Add website + website-test targets
Radek Simko [Fri, 27 Apr 2018 15:56:24 +0000 (16:56 +0100)] 
make: Add website + website-test targets

4 years agoCleanup after v0.1.5 release
tf-release-bot [Fri, 27 Apr 2018 08:34:01 +0000 (08:34 +0000)] 
Cleanup after v0.1.5 release

4 years agov0.1.5 v0.1.5
tf-release-bot [Fri, 27 Apr 2018 08:30:29 +0000 (08:30 +0000)] 
v0.1.5

4 years agoUpdate CHANGELOG.md
Sander van Harmelen [Fri, 16 Mar 2018 18:25:22 +0000 (19:25 +0100)] 
Update CHANGELOG.md

4 years agoinstance: volume is in Byte rather than GiB (#32)
Yoan Blanc [Fri, 16 Mar 2018 18:23:15 +0000 (19:23 +0100)] 
instance: volume is in Byte rather than GiB (#32)

Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
4 years agoUpdate CHANGELOG.md
Sander van Harmelen [Fri, 16 Mar 2018 18:19:15 +0000 (19:19 +0100)] 
Update CHANGELOG.md

4 years agoAdd secondary IP address output to create function (#34)
IceBear [Fri, 16 Mar 2018 18:13:48 +0000 (19:13 +0100)] 
Add secondary IP address output to create function (#34)

4 years agotypo (#33)
Yoan Blanc [Fri, 16 Mar 2018 09:42:54 +0000 (10:42 +0100)] 
typo (#33)

4 years agoCleanup after v0.1.4 release
tf-release-bot [Thu, 4 Jan 2018 16:42:08 +0000 (16:42 +0000)] 
Cleanup after v0.1.4 release

4 years agov0.1.4 v0.1.4
tf-release-bot [Thu, 4 Jan 2018 16:38:53 +0000 (16:38 +0000)] 
v0.1.4

4 years agoFix the check that determines if tags should be set (#29)
Sander van Harmelen [Tue, 2 Jan 2018 17:25:32 +0000 (18:25 +0100)] 
Fix the check that determines if tags should be set (#29)

4 years agoRead back the `root_disk_size` (#28)
Sander van Harmelen [Thu, 21 Dec 2017 14:03:10 +0000 (15:03 +0100)] 
Read back the `root_disk_size` (#28)

4 years agoCleanup after v0.1.3 release
tf-release-bot [Wed, 20 Dec 2017 15:36:30 +0000 (15:36 +0000)] 
Cleanup after v0.1.3 release

4 years agov0.1.3 v0.1.3
tf-release-bot [Wed, 20 Dec 2017 15:33:17 +0000 (15:33 +0000)] 
v0.1.3

4 years agoFix issue #25 (#26)
Sander van Harmelen [Wed, 20 Dec 2017 15:02:23 +0000 (16:02 +0100)] 
Fix issue #25 (#26)

Setting, reading and updating tags was not implemented correctly, so this needed some TLC to make it work as expected.

4 years agoCleanup after v0.1.2 release
tf-release-bot [Mon, 18 Dec 2017 18:41:05 +0000 (18:41 +0000)] 
Cleanup after v0.1.2 release

4 years agov0.1.2 v0.1.2
tf-release-bot [Mon, 18 Dec 2017 18:37:53 +0000 (18:37 +0000)] 
v0.1.2

4 years agoAdd documentation for Cloudstack template datasource (#24)
Léo Depriester [Sat, 2 Dec 2017 19:40:27 +0000 (20:40 +0100)] 
Add documentation for Cloudstack template datasource (#24)

* Add documentation for Cloudstack template datasource

* Update index

* Fix typo

4 years agoMake sure to verify the protocol
Sander van Harmelen [Wed, 29 Nov 2017 19:51:25 +0000 (11:51 -0800)] 
Make sure to verify the protocol

4 years agoAdd Load Balancer Rule protocol support (#22)
Stuart Williams [Wed, 29 Nov 2017 19:23:28 +0000 (14:23 -0500)] 
Add Load Balancer Rule protocol support (#22)

* Add Load Balancer Rule protocol support

* PR feedback

4 years agoUpdate CHANGELOG.md
Sander van Harmelen [Fri, 17 Nov 2017 17:00:43 +0000 (18:00 +0100)] 
Update CHANGELOG.md