Git Product home page Git Product logo

terraform-provider-sonarr's Introduction

terraform-provider-sonarr's People

Contributors

fuochi avatar renovate[bot] avatar dependabot[bot] avatar github-actions[bot] avatar devopsarr[bot] avatar sander0542 avatar

Stargazers

Ievgen Pyrogov avatar Quentin JOLY avatar Mads Boddum avatar ionlights avatar Bryan J. avatar Will Godfrey avatar Tommy Alatalo avatar  avatar Michael Poutre avatar  avatar Charlie Haley avatar  avatar

Watchers

 avatar

Forkers

sander0542

terraform-provider-sonarr's Issues

Inconsistent Result - Colon Replacement Format

I'm trying to perform a first-time setup of a new Sonarr deployment. I've used this provider in the past, but there is a new required argument in the sonarr_naming resource that seems to be included in error.
Specifically, this is the colon_replacement_format argument. This property does not exist in Sonarr, only Radarr and Whisparr from what I can tell. What's more, it is included as a required argument, meaning I cannot get my apply to work with or without it.

Error: Provider produced inconsistent result after apply
│ 
│ When applying changes to sonarr_naming.naming, provider
│ "provider[\"registry.terraform.io/devopsarr/sonarr\"]" produced an
│ unexpected new value: .colon_replacement_format: was cty.NumberIntVal(4),
│ but now cty.NumberIntVal(0).
│ 
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.

Inconsistent result

Hey there! having some issues with the resource remote_path_mapping if i remove the remote_path_mapping resourceeverything works fine.

I have also tried manually deleting the tainted object which produces the same result

It does successfully create the remote_path_mapping but the terraform fails and wants to try to recreate it constantly

Error: Provider produced inconsistent result after apply

When applying changes to sonarr_remote_path_mapping.downloads-path, provider
"provider[\"registry.terraform.io/devopsarr/sonarr\"]" produced an unexpected
new value: .local_path: was cty.StringVal("/media/downloads/torrents"), but
now cty.StringVal("/media/downloads/torrents/").

This is a bug in the provider, which should be reported in the provider's own
issue tracker.

Error: Provider produced inconsistent result after apply

When applying changes to sonarr_remote_path_mapping.downloads-path, provider
"provider[\"registry.terraform.io/devopsarr/sonarr\"]" produced an unexpected
new value: .remote_path: was cty.StringVal("/data/downloads/torrents"), but
now cty.StringVal("/data/downloads/torrents/").

This is a bug in the provider, which should be reported in the provider's own
issue tracker.

here is my tf file

resource "sonarr_download_client_qbittorrent" "rdt-client" {
  name                       = "rdt-client"
  enable                     = true
  host                       = "rdt-client.downloads.svc.cluster.local"
  port                       = 6500
  tv_category                = "series"
  remove_completed_downloads = true
}

resource "sonarr_remote_path_mapping" "downloads-path" {
  host        = sonarr_download_client_qbittorrent.rdt-client.host
  remote_path = "/data/downloads/torrents"
  local_path  = "/media/downloads/torrents"
}

Resource Type Not Found for qbittorrent and sabnzbd with provider version 3.1.0

When I was trying to provision Sonarr with the provider version 3.1.0, I've got error


│ Error: Resource Type Not Found

│ with sonarr_download_client_qbittorrent.qbittorrent,
│ on main.tf line 6, in resource "sonarr_download_client_qbittorrent" "qbittorrent":
│ 6: resource "sonarr_download_client_qbittorrent" "qbittorrent" {

│ No resource type named "sonarr_download_client_qbittorrent" was found in the provider.


│ Error: Resource Type Not Found

│ with sonarr_download_client_sabnzbd.sabnzbd,
│ on main.tf line 21, in resource "sonarr_download_client_sabnzbd" "sabnzbd":
│ 21: resource "sonarr_download_client_sabnzbd" "sabnzbd" {

│ No resource type named "sonarr_download_client_sabnzbd" was found in the provider.

When I downgraded the provider to version 3.0.0. Everything works fine.

My setup:
Terraform: 1.6.1
Sonarr: 3.0.10.1567
OS: Archlinux

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
.github/provider/docker-compose.yml
  • hotio/sonarr release-4.0.2.1183@sha256:43610072b2e6702e5fbc41780e0eda205fac6a20cf4c667d37416b0aed53f393
github-actions
.github/workflows/cd.yml
.github/workflows/ci.yml
gomod
go.mod
  • go 1.21
  • github.com/devopsarr/sonarr-go v1.0.0
  • github.com/hashicorp/terraform-plugin-docs v0.18.0
  • github.com/hashicorp/terraform-plugin-framework v1.7.0
  • github.com/hashicorp/terraform-plugin-framework-validators v0.12.0
  • github.com/hashicorp/terraform-plugin-go v0.22.1
  • github.com/hashicorp/terraform-plugin-log v0.9.0
  • github.com/hashicorp/terraform-plugin-testing v1.7.0
  • github.com/mitchellh/hashstructure/v2 v2.0.2
  • github.com/stretchr/testify v1.9.0
  • github.com/fuochi/terraform-plugin-docs v0.0.0-20240221215056-25202587a4af@25202587a4af

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.