Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.3.0 updates #130

Merged
merged 2 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v1.3.0 (Jun 24, 2024)

FEATURES:
* **New feature:** `Support Default Tags` ([#124](https://github.com/infobloxopen/terraform-provider-bloxone/pull/124))
* **New feature:** `Assign Service Instance in DHCP Config Profile` ([#121](https://github.com/infobloxopen/terraform-provider-bloxone/pull/121))
* **New Module:** `Implementation for anycast module` ([#120](https://github.com/infobloxopen/terraform-provider-bloxone/pull/120))

## v1.2.0 (May 28, 2024)

FEATURES:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ HOSTNAME=registry.terraform.io
NAMESPACE=infobloxopen
NAME=bloxone
BINARY=terraform-provider-${NAME}
VERSION=1.2.0
VERSION=1.3.0
OS_ARCH=$(shell uname -s | tr '[:upper:]' '[:lower:]')_$(shell uname -m)
MODULES_DIR=./modules
TERRAFORM_DOCS_IMAGE=quay.io/terraform-docs/terraform-docs:0.17.0
Expand Down
21 changes: 0 additions & 21 deletions internal/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,24 +337,3 @@ func ExtractResourceId(id string) string {
return id
}
}

// DefaultTagsHandler converts default_tags attribute to map[string]string
// supports only string values
func DefaultTagsHandler(m map[string]interface{}, d *diag.Diagnostics) map[string]string {
newMap := make(map[string]string, len(m))
for key, value := range m {
strValue := ""

switch v := value.(type) {
case string:
strValue = v
default:
d.AddError("Client error", fmt.Sprintf("Invalid type '%v' for default_tags %s value, only string supported", v, key))
continue
}

newMap[key] = strValue
}

return newMap
}
Comment on lines -340 to -360
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#124 (comment) -> removing the unused function

Loading