Commit graph

256 commits

Author SHA1 Message Date
Markus Brunsch
318d8e3263
updated license (#351) 2024-05-08 11:33:54 +01:00
GokceGK
1c36e5a300
Improve documentation (#354)
* Change title and description

* change the headers to have only one H1 header

* add links to documentation

* fix typos

* add useful links

* change title and description // add some links // fix typos

* Update README.md

Co-authored-by: João Palet <joao.palet@outlook.com>

* Update README.md

Co-authored-by: João Palet <joao.palet@outlook.com>

* fix link

* add correct link to issue reporting

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
2024-05-07 13:47:06 +02:00
stackit-pipeline
ed3a460a91
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.14.0 (#353)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-05-06 10:45:06 +01:00
Vicente Pinto
49b585923b
Update docs (#352) 2024-05-03 14:11:28 +00:00
Diogo Ferrão
035efbd309
Fix replacement of mongoDB instances, make storage class require replace (#350)
* hotfix replacement of mongodb instances by adding delay to delete

* improve explaining comment

* increase delay time

* improve comments regarding the wait timer
2024-04-30 16:10:54 +01:00
João Palet
e48deaff59
Fix Argus scrape config internal models to use Terraform types (#349)
* Fix SAML2 model

* Fix BasicAuth model

* Fix Targets model

* Fixes after testing
2024-04-29 15:18:13 +01:00
stackit-pipeline
8ddcfc8e43
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/dns to v0.9.1 (#347)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-26 17:51:12 +01:00
Diogo Ferrão
46797a659a
support storage class update in postgresflex (#348) 2024-04-26 11:20:51 +02:00
João Palet
66d6ec2bd0
Remove deleted resources and datasources from Terraform state on Read (all remaining services) (#346)
* Remove deleted resources and datasources from state on Read

* Simplify code

* Fix function description

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>

* Fix function description

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>

* Fix whitespace

---------

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-04-23 08:59:43 +01:00
João Palet
464884cabe
Remove deleted resources from Terraform state on Read (LB and DSA) (#340)
* Fix for load balancer resource

* Fix for lb credential resource

* Fix for all DSA resources

* Fix for lb datasource

* Fix for all DSA datasources

* Adjustments after review

* Remove early return from all datasources
2024-04-22 15:19:10 +01:00
Simon Stier
592007de7a
DNS: Fix rrsetNameLength validation (#345)
* fix rrsetNameLength validation

* remove string length validation entirely

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>

---------

Co-authored-by: Diogo Ferrão <diogo.ferrao@freiheit.com>
2024-04-22 15:51:06 +02:00
GokceGK
89b509d622
Add 'how to use the provider' in the README of repo (#341)
* add 'how to use the provider' in the README of repo

* move how to part in Getting started
2024-04-22 11:20:44 +02:00
stackit-pipeline
3cadf793f6
fix(deps): update module github.com/hashicorp/terraform-plugin-go to v0.22.2 (#337)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-22 09:00:13 +02:00
stackit-pipeline
714699fcd6
fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.8.0 (#338)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-22 08:59:37 +02:00
dependabot[bot]
ac2f33007b
Bump golang.org/x/net from 0.21.0 to 0.23.0 (#339)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 08:58:41 +02:00
stackit-pipeline
db37d75887
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.13.0 (#334)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-18 09:52:48 +02:00
stackit-pipeline
75c4bcc339
chore(deps): update renovatebot/github-action action to v40.1.9 (#333)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-18 09:48:31 +02:00
GokceGK
94c718b1c2
Update GitHub actions (#332) 2024-04-17 08:11:26 +02:00
stackit-pipeline
0412440c83
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/loadbalancer to v0.12.0 (#329)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-16 16:54:32 +02:00
Diogo Ferrão
7c1560d513
update docs (#330) 2024-04-16 13:41:42 +01:00
Diogo Ferrão
9bd1da7cee
Bugfix inconsistent applies of ListAttributes (#328)
* sort the list of ACLs for MongoDBFlex

* Fix and test other cases of ListAttribute ordering

* fix linting

* revert sorting changes, introduce new reconcilestrlist function

* merge main

* Fix rabbitmq

* fix segmentation fault

* Improve testing

* pass context to mapfields, minor name fixes
2024-04-16 11:20:19 +01:00
stackit-pipeline
18d3f4d1fb
fix(deps): update stackit sdk modules (#327)
* fix(deps): update stackit sdk modules

* remove deprecated fields from credentials resources

* remove deprecated fields from credentials resources

* add newly added fields to credentials resources

* remove deprecated fields from credentials datasource

* add newly added credential fields to datasources

* update acceptance tests

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Gökçe Gök Klingel <goekce.goek_klingel@mail.schwarz>
2024-04-15 09:52:35 +02:00
Vicente Pinto
4917eda1ad
DNS Record Set type requires replace (#325) 2024-04-09 16:12:00 +01:00
João Palet
e783c112d5
Extend contribution guidelines (new resource, datasource, service) (#322)
* Extend contribution guidelines (new resource, datasource, service)

* Improvements after review

* Fix formatting of table of contents

* Add required field to example

* Assorted fixes
2024-04-09 15:52:34 +01:00
stackit-pipeline
a19ac5a851
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/loadbalancer to v0.10.0 (#323)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-09 11:28:05 +01:00
stackit-pipeline
7db4af199f
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/postgresflex to v0.12.0 (#319)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-05 10:22:56 +01:00
stackit-pipeline
bb6a0d407a
fix(deps): update module golang.org/x/mod to v0.17.0 (#320)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-05 10:22:33 +01:00
stackit-pipeline
a764bad617
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/postgresflex to v0.11.0 (#317)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-03 09:45:27 +01:00
stackit-pipeline
f7e9ef0963
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/ske to v0.11.0 (#316)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-04-01 08:56:48 +01:00
Diogo Ferrão
6e61caee19
Bugfix SKE downgrade replace in place (#315)
* add requireif to schema, extend acc testing

* fix acceptance test

* improve testing
2024-03-27 15:45:16 +00:00
Diogo Ferrão
394d5bf8d6
Onboard Argus (ACL): fix edge cases (#314)
* fix empty acl update/create, update CIDR validator

* fix sigsegv in test, acl description

* Split field mapping, better handle edge cases

* Update stackit/internal/services/argus/instance/resource.go

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

---------

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
2024-03-26 13:54:09 +00:00
GokceGK
056c000acc
Update SKE project resource deprecation message (#313)
* remove redundant log message

* update description and deprecation message for project resource

* add missing space

* update docs
2024-03-26 11:11:21 +01:00
Diogo Ferrão
d0b0ba4cbb
Create guide to document Vault usage with Secrets Manager (#310)
* create guide

* Address comments

* remove frontmatter description and subsection

* Move guide to template file for generation

* update description and note
2024-03-26 08:39:47 +00:00
Diogo Ferrão
9528ca2307
Update Argus ACL documentation (#312)
* update argus ACL docs

* update datasource docs
2024-03-25 14:03:58 +00:00
GokceGK
0fc2a28469
Deprecate ske project resource (#309)
* add deprecation message

* edit acceptance test

* Enable project before creating first cluster // fix typo in function name

* add cluster existence check before deleting ske project // add deprecation message to project resource

* add region to acceptance test

* Update resource error message

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Update resource error message

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Update deprecation message

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* Update error message

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* remove model id assignment

* update error handling for cluster existence check while deleting project

* add nil check for clusters during project deletion

* add deprecation notice to documentation

* Update datasource deprecation message

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>

* improve condition handling

---------

Co-authored-by: Vicente Pinto <vicente.pinto@freiheit.com>
2024-03-25 13:23:06 +01:00
Diogo Ferrão
d6c677552f
Fix bug dns record name inconsistent (#307)
* add fqdn to model, map fqdn in mapFields

* add testing

* update examples, generate docs, fix linting

* addressed comments in PR

* add comment to acc tests, explaining ignore

* update docs
2024-03-25 11:45:29 +00:00
Diogo Ferrão
7223a5244c
update go version (#308) 2024-03-25 10:30:16 +00:00
Diogo Ferrão
c2389be47b
Onboard Argus ACL (#304)
* resource create and schema/model

* consider empty value in resource creation

* Address issue in mapfields that came up in testing

* Unit testing the mapFields func

* extend update

* extend read

* extend datasource.go

* update example

* extended acceptance tests and generated docs

* update description and comments

* improve messages and var names, fix update acceptance test

* extend acceptance tests, improve error messages
2024-03-22 17:35:10 +00:00
stackit-pipeline
8eb14a1136
fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.7.0 (#306)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-22 08:34:41 +00:00
stackit-pipeline
1e4d679436
fix(deps): update stackit sdk modules (#305)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-20 18:02:18 +00:00
stackit-pipeline
1a3813af04
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/secretsmanager to v0.6.0 (#303)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-20 15:32:36 +00:00
Vicente Pinto
f17bc307f1
Add badges (#302) 2024-03-15 16:58:46 +00:00
Vicente Pinto
9f73a568c4
Increase timeouts (#301)
* Increase timeouts

* Remove timeout from loadbalancer delete

* Incresae timeout for loadbalancer create
2024-03-13 13:37:25 +00:00
stackit-pipeline
7019300109
fix(deps): update module github.com/hashicorp/terraform-plugin-go to v0.22.1 (#299)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-12 09:29:43 +00:00
Vicente Pinto
b79c88e858
Update documentation (#298)
* Update documentation

* Update stackit/internal/services/redis/credential/resource.go

Co-authored-by: João Palet <joao.palet@outlook.com>

* Add more info

* Update datasource

---------

Co-authored-by: João Palet <joao.palet@outlook.com>
2024-03-11 15:55:05 +00:00
Peter Stolz
3ea0f81900
fix: set min ttl to 60 (#293) 2024-03-11 15:13:35 +00:00
stackit-pipeline
f862fcecac
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/services/postgresflex to v0.10.0 (#296)
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
2024-03-11 10:12:19 +00:00
Vicente Pinto
862dffca6e
Update docs (#289) 2024-03-07 14:20:27 +00:00
stackit-pipeline
959bb83931
fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.6.1 + examples fix (#284)
* Update module github.com/hashicorp/terraform-plugin-framework to v1.4.0

* Go get tf plugin sdk v2

* fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.6.1

* Update examples

* Update docs

---------

Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: vicentepinto98 <vicente.pinto@freiheit.com>
2024-03-07 14:19:45 +00:00
Vicente Pinto
514e72bd54
Fix example (#288) 2024-03-07 09:22:28 +00:00