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

[Feature]: corefunc_str_template #158

Open
skyzyx opened this issue Feb 14, 2024 · 2 comments
Open

[Feature]: corefunc_str_template #158

skyzyx opened this issue Feb 14, 2024 · 2 comments
Assignees

Comments

@skyzyx
Copy link
Member

skyzyx commented Feb 14, 2024

What functionality would you like to see?

data "corefunc_str_marker_replace" "str" {
  iterative = false
  string    = "{eight}wo{three}"

  replacements = {
    two   = "2"
    three = "}3"
    eight = "8{t"
  }
}
#=> 8{two}3

data "corefunc_str_marker_replace" "str" {
  iterative = true
  string    = "{eight}wo{three}"

  replacements = {
    two   = "2"
    three = "}3"
    eight = "8{t"
  }
}
#=> 823
@skyzyx skyzyx self-assigned this Feb 14, 2024
@skyzyx
Copy link
Member Author

skyzyx commented Apr 18, 2024

@skyzyx skyzyx changed the title [Feature]: corefunc_str_marker_replace [Feature]: corefunc_str_template Apr 18, 2024
@skyzyx
Copy link
Member Author

skyzyx commented Apr 19, 2024

opentofu/opentofu#1518

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant